Daniel Marjamäki
|
7f1b98d7ae
|
Memory leak : Fixed false positive for "list += data"
|
2008-12-28 20:57:50 +00:00 |
Daniel Marjamäki
|
76239fcdf9
|
Memory leak : Fixed a problem with a fclose inside an if condition
|
2008-12-28 19:57:50 +00:00 |
Daniel Marjamäki
|
a01ebc819f
|
Memory leak: Added check "TestMemoryLeak::throw2" (no false positive upon throw)
|
2008-12-27 11:29:38 +00:00 |
Daniel Marjamäki
|
6ef11f3f49
|
Memory leaks : Fixed false positive for "p" when there is a line such as "p2 = p + 1;"
|
2008-12-26 20:12:42 +00:00 |
Daniel Marjamäki
|
12a898c2fa
|
Memory leak : Added TODO test case "class3". It currently fails
|
2008-12-26 09:13:49 +00:00 |
Daniel Marjamäki
|
492082f4f2
|
Memory leaks : Fixed false positive with return (Bug 2458436)
|
2008-12-25 08:27:07 +00:00 |
Daniel Marjamäki
|
20ae03d0d0
|
Memory leak : Fixed false positive when using callbacks (Bug 2458510)
|
2008-12-25 07:50:25 +00:00 |
Daniel Marjamäki
|
a148e67168
|
Memory leaks : Reduce "if { dealloc ; return ; } if return ;" to "if return ;". Related with bug 2458532
|
2008-12-22 14:42:54 +00:00 |
Reijo Tomperi
|
e272630604
|
Copyright and app name changed in each file
|
2008-12-19 21:15:06 +00:00 |
Nicolas Le Cam
|
a5fa323a0b
|
Formatting: uniformize end of lines.
|
2008-12-18 21:28:57 +00:00 |
Daniel Marjamäki
|
ee5e20ed1f
|
memory leak : fixed 2 bugs related to the testcases TestMemleak::if7 and TestMemleak::simple9
|
2008-12-17 19:21:39 +00:00 |
Daniel Marjamäki
|
fc325ac98a
|
Memory leak : Added a test case for future checking of struct members
|
2008-12-16 19:16:52 +00:00 |
Daniel Marjamäki
|
b145bf3650
|
Memory leak : Fixed issue 2429936 - false positive reported on the break in the code "loop { dealloc ; alloc ; if break ; }"
|
2008-12-16 19:01:15 +00:00 |
Daniel Marjamäki
|
87de37bcb4
|
Memory leaks : Added test case for bug 2429936
|
2008-12-16 17:27:52 +00:00 |
Daniel Marjamäki
|
a8661baac5
|
Memory leak : Fixed bug described in issue 2432631. False positive on something like this.. "alloc ; if(!var) alloc;"
|
2008-12-16 17:06:59 +00:00 |
Reijo Tomperi
|
3851c0f019
|
Refactoring: Renamed all files to lower case. Also added testfilelister.cpp which was forgotted from previous commit.
|
2008-12-14 20:49:55 +00:00 |
Daniel Marjamäki
|
1e9863d671
|
Tokenizer : Simplify function calls for functions that only returns a constant value
|
2008-12-13 17:57:36 +00:00 |
Daniel Marjamäki
|
3a1196e5f9
|
Tokenizer : Added function for simplifying casts
|
2008-12-13 16:42:39 +00:00 |
Nicolas Le Cam
|
661068bcd4
|
Formatting: uniformize end of lines.
|
2008-12-13 11:39:36 +00:00 |
Nicolas Le Cam
|
13bcb66c14
|
Add three memoryleak tests involving pointer casting that currently 'fail'
|
2008-12-13 11:19:09 +00:00 |
Daniel Marjamäki
|
46205bde8e
|
Memory leak : Added a test case for false positive when using function call
|
2008-12-13 10:01:05 +00:00 |
Reijo Tomperi
|
8ad2c58c56
|
Slightly improved test case
|
2008-12-12 23:01:39 +00:00 |
Reijo Tomperi
|
dd7e012509
|
Added test case for false positive, fails currently
|
2008-12-12 22:25:36 +00:00 |
Reijo Tomperi
|
a44c21da08
|
testmemleak: Added 2 tests, fopen() and popen() should return resource leak, instead of memory leak
|
2008-12-12 19:21:34 +00:00 |
Daniel Marjamäki
|
a66a91c22a
|
code cleanups
|
2008-12-10 19:34:04 +00:00 |
Daniel Marjamäki
|
8bd4c4278a
|
Memory leaks : Minor updates and refactoring
|
2008-12-10 19:15:41 +00:00 |
Daniel Marjamäki
|
68bcdb103c
|
testmemleak : added a unit test that ensures that the variable id handling works correctly. But it's currently not working, and therefore it's commented out
|
2008-12-09 07:27:11 +00:00 |
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 |
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 |
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
|
8c07a13cb6
|
Test Memory leak: Added a test case, currently a false positive is generated
|
2008-11-29 16:42:14 +00:00 |
Daniel Marjamäki
|
95c7e1a7d3
|
Memory leak: Moved the class member checking to the "--all"
|
2008-11-28 17:16:28 +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
|
c95fee7266
|
testmemleak: Added 'func7' test case. Not working yet
|
2008-11-26 07:17:50 +00:00 |
Daniel Marjamäki
|
4f4a2391e0
|
Refactoring: Removed _settings member from the Tokenizer
|
2008-11-25 18:44:35 +00:00 |
Daniel Marjamäki
|
8845e8bc89
|
Refactoring: Tokenizer - renaming functions, moved the 'tokenizeCode' to the private section
|
2008-11-25 18:34:51 +00:00 |
Reijo Tomperi
|
29a1468523
|
Refactoring: Renamed some member variables: variable -> _variable
|
2008-11-23 11:08:07 +00:00 |
Daniel Marjamäki
|
0c9784fc0c
|
Refactoring: The Tokenizer::FillFunctionList has no use of its parameter. Enabled the CheckFunctionUsage
|
2008-11-23 06:21:44 +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
|
07b5ebe72b
|
Check Function Usage: Removed much of the old checking and made some refactoring
|
2008-11-22 19:39:12 +00:00 |
Daniel Marjamäki
|
e33985dbf0
|
Memory leak: Handle conditions that are always true / false
|
2008-11-22 11:30:50 +00:00 |
Daniel Marjamäki
|
2db69e6072
|
tokenizer: Added DeallocateTokens to the destructor so it's not necessary to cleanup manually
|
2008-11-22 09:44:02 +00:00 |