Nicolas Le Cam
|
aaabacfe87
|
Formatting: uniformize end of lines.
|
2008-12-09 00:49:32 +00:00 |
Nicolas Le Cam
|
eb80c9786f
|
Revert revisions 627 and 628
|
2008-12-08 23:41:34 +00:00 |
Nicolas Le Cam
|
e8d2c7cfb3
|
Formatting: uniformize end of lines (part 2)
|
2008-12-08 23:10:13 +00:00 |
Nicolas Le Cam
|
625b77ec33
|
Formatting: uniformize end of lines.
|
2008-12-08 23:06:19 +00:00 |
Reijo Tomperi
|
440203bd5c
|
Refactoring: Rest of the public variables in TOKEN moved to private area.
|
2008-12-08 22:02:37 +00:00 |
Reijo Tomperi
|
51024235a3
|
Refactoring: TOKEN::next renamed to _next, getter and setter functions for it added next() and next(TOKEN*).
|
2008-12-08 21:49:05 +00:00 |
Nicolas Le Cam
|
92a651acd3
|
Minor optimization. Reuse findmatch result instead of recalling it
|
2008-12-07 18:46:23 +00:00 |
Daniel Marjamäki
|
ea57f2b820
|
Memory leaks : Handle assignments better - bug 2395524
|
2008-12-07 07:32:02 +00:00 |
Daniel Marjamäki
|
7c32b7b2bb
|
Memory leaks: Better handling of "realloc". Fixing bug [ 2395262 ]
|
2008-12-06 13:33:22 +00:00 |
Reijo Tomperi
|
d307b999e0
|
CheckMemoryLeak.cpp, g_renew and g_try_renew also removed
|
2008-12-06 12:45:54 +00:00 |
Reijo Tomperi
|
0ea34d4705
|
Memory leak: False positive with g_realloc(). Removed g_realloc() and g_try_realloc() for now. See feature request [ 2395262 ] Check leaks with realloc, g_realloc and
g_try_realloc()
|
2008-12-06 11:41:08 +00:00 |
Daniel Marjamäki
|
48dd250796
|
Memory leak: refactoring - changed "aaaa" to "str"
|
2008-12-05 19:37:11 +00:00 |
Daniel Marjamäki
|
62e363daa5
|
Memory leak: Replaced a few "strcmp" with "=="
|
2008-12-05 18:39:23 +00:00 |
Daniel Marjamäki
|
17cb374ce2
|
Memory leaks: Various improvements in "simplifycode"
|
2008-12-02 18:00:58 +00:00 |
Daniel Marjamäki
|
d5506618b6
|
Memory leak: Further improvements of "simplifycode"
|
2008-12-02 17:22:01 +00:00 |
Daniel Marjamäki
|
8578df698f
|
Memory leak: Changed a comment
|
2008-12-02 16:58:43 +00:00 |
Reijo Tomperi
|
9b56be86c6
|
Minor improvement to code comments.
|
2008-12-01 22:33:21 +00:00 |
Daniel Marjamäki
|
a8bf4d7e77
|
Memory leak: Refactoring and improvements of simplifycode etc
|
2008-12-01 18:52:40 +00:00 |
Daniel Marjamäki
|
e968b42c38
|
Memory leaks: When "--debug" is given the checking will be different to
highlight problems in "getcode" and "simplifycode"
|
2008-12-01 07:50:36 +00:00 |
Daniel Marjamäki
|
a7ece61734
|
Memory leak: The "do" must be handled differently. Made a first fix for it
|
2008-11-30 19:00:07 +00:00 |
Daniel Marjamäki
|
f646684159
|
Memory leak: Fixed the test 'CheckMemoryLeak::func8'
|
2008-11-29 17:34:47 +00:00 |
Daniel Marjamäki
|
95c7e1a7d3
|
Memory leak: Moved the class member checking to the "--all"
|
2008-11-28 17:16:28 +00:00 |
Reijo Tomperi
|
101e7b96fc
|
Removed debug output
|
2008-11-27 18:57:07 +00:00 |
Daniel Marjamäki
|
6fcbbf21ee
|
Memory leaks: Reverted the sensitive checking in r536. And improved the
simplifycode function.
|
2008-11-27 07:27:50 +00:00 |
Daniel Marjamäki
|
997f4e6165
|
Memory leaks: Made the checking a lot more sensitive
|
2008-11-26 18:13:36 +00:00 |
Daniel Marjamäki
|
2e22c7cb1d
|
CheckMemoryLeak: Refactoring. Use TOKEN::isStandardType instead of rewriting its functionality
|
2008-11-26 07:23:54 +00:00 |
Daniel Marjamäki
|
bc267bbca5
|
TOKEN: Refactoring the 'str' member variable
|
2008-11-24 19:38:08 +00:00 |
Reijo Tomperi
|
a6ad4045d4
|
Refactoring: IsName() and IsNumber() are no longer static and they don't take a parameter.
|
2008-11-23 12:21:40 +00:00 |
Reijo Tomperi
|
29a1468523
|
Refactoring: Renamed some member variables: variable -> _variable
|
2008-11-23 11:08:07 +00:00 |
Reijo Tomperi
|
0b2e7a0ef3
|
Refactoring: at() changed to tokAt() and getstr() changed to strAt()
|
2008-11-23 10:09:16 +00:00 |
Reijo Tomperi
|
3ba83b6620
|
Refactoring: token.* files added, Some functions from Tokenizer moved under TOKEN. Renamed few functions, like gettok() -> at(), combineWithNext() and deleteNext() are also new
names for old functions. Usage was gettok( tok, 2 ), but now it is tok->at( 2 ).
|
2008-11-22 22:49:14 +00:00 |
Daniel Marjamäki
|
2a85d68803
|
Memory leak: Added checking for 'kcalloc'
|
2008-11-22 21:10:12 +00:00 |
Daniel Marjamäki
|
9ba5d0b14f
|
Memory leak: The 'realloc' shouldn't be treated exactly like 'malloc'
|
2008-11-22 20:28:39 +00:00 |
Daniel Marjamäki
|
0d3a99adb0
|
increased constness of member variable _tokenizer in the Check* classes
|
2008-11-22 20:00:36 +00:00 |
Daniel Marjamäki
|
d68e2ae966
|
tokenizer: simplifyConditions tries to simplify conditions.. those that are always true to '( true )' and those that are always false to '( false )'
|
2008-11-22 17:53:22 +00:00 |
Daniel Marjamäki
|
e33985dbf0
|
Memory leak: Handle conditions that are always true / false
|
2008-11-22 11:30:50 +00:00 |
Reijo Tomperi
|
125692bc65
|
Refactoring: CommonCheck.* files are removed. Rest of the global functions from there were moved to Tokenizer class
|
2008-11-21 21:14:24 +00:00 |
Daniel Marjamäki
|
66412ed4ae
|
Memory leak: Added checking for 'fopen' and 'popen'
|
2008-11-21 18:17:40 +00:00 |
Daniel Marjamäki
|
a82b46dad6
|
Memory leak: Better handling when calling functions
|
2008-11-21 18:02:20 +00:00 |
Reijo Tomperi
|
51e9d98a5f
|
Refactoring: Errors are no longer logged via global functions to a global stream. Instead callback function is used via interface.
ErrorLogger interface was added and taken into use.
|
2008-11-20 22:19:26 +00:00 |
Reijo Tomperi
|
180e3b99e6
|
Refactoring: Some global functions moved to Tokenizer class
|
2008-11-20 20:54:52 +00:00 |
Daniel Marjamäki
|
2e445b195c
|
Memory leak: Minor update to make the checking stronger
|
2008-11-19 18:57:35 +00:00 |
Daniel Marjamäki
|
7a048cf35e
|
Memory leak: Readded some checks that were removed in r481
|
2008-11-19 18:46:28 +00:00 |
Daniel Marjamäki
|
452ada698e
|
Memory leak: Moved false positive to "--all" upon some special case conditions (bug 2313129)
|
2008-11-19 17:46:09 +00:00 |
Daniel Marjamäki
|
8f3c688020
|
Memory leak: limit the max call depth to 2
|
2008-11-18 19:44:27 +00:00 |
Daniel Marjamäki
|
d6075a2125
|
Memory leak: Minor fix to prevent hang
|
2008-11-17 20:29:50 +00:00 |
Daniel Marjamäki
|
2018c25d20
|
Memory leak: moved simplifyTokens rule to '--all'
|
2008-11-17 17:31:07 +00:00 |
Daniel Marjamäki
|
7e8b3c86f6
|
Memory leak: Better handling of 'if (0 != p)'
|
2008-11-17 17:02:06 +00:00 |
Reijo Tomperi
|
aa579911ab
|
Refactoring: Global variable tokenes is no more.
|
2008-11-16 15:58:52 +00:00 |
Reijo Tomperi
|
231e753289
|
Refactoring: static variable in CheckMemoryLeak is now a private member of the class.
|
2008-11-16 15:39:42 +00:00 |