Daniel Marjamäki
|
a50ec2eded
|
memory leaks: better handling of loops and switch
|
2010-01-10 15:40:50 +01:00 |
Daniel Marjamäki
|
f65bf6d565
|
Fixed #1220 (False memory leak when using while)
|
2010-01-10 14:00:32 +01:00 |
Daniel Marjamäki
|
3fabe53570
|
Memory leaks: Better handling of switch
|
2010-01-10 10:37:54 +01:00 |
Daniel Marjamäki
|
686137415f
|
Fixed #1235 (CheckMemoryLeakInFunction: Wrong handling of 'fcloseall')
|
2010-01-07 21:36:51 +01:00 |
Daniel Marjamäki
|
6c0919d9bd
|
Fixed #1173 (Improve check: memory leak not detected in constructor)
|
2009-12-30 21:29:54 +01:00 |
Daniel Marjamäki
|
afad0205c4
|
Fixed #1120 (Test compile warnings with Cygwin)
|
2009-12-26 17:49:05 +01:00 |
Daniel Marjamäki
|
aaf908bd5e
|
astyle formatting
|
2009-12-22 19:18:02 +01:00 |
Daniel Marjamäki
|
b4b63789fc
|
Eric Sesterhenn: Fixed #1131 (descriptor leak false positive)
|
2009-12-22 19:13:46 +01:00 |
Daniel Marjamäki
|
11c7b8a839
|
Execution Path: some refactorings of the checking
|
2009-12-20 19:44:32 +01:00 |
Daniel Marjamäki
|
368df4c083
|
TestLocalLeaks: going out of scope
|
2009-12-15 19:27:07 +01:00 |
Daniel Marjamäki
|
0c13f9ba5c
|
Added TestLocalLeaks
|
2009-12-14 20:30:31 +01:00 |
Daniel Marjamäki
|
4dc8794c69
|
Fixed #1082 (False positive: Resource leak in loop which exits only after releasing resource)
|
2009-12-13 19:50:49 +01:00 |
Daniel Marjamäki
|
48bb1fdc83
|
Eric Sesterhenn: Fixed #1032 (False positive resource leak with exit at end of function)
|
2009-12-03 19:19:20 +01:00 |
Daniel Marjamäki
|
153a13272c
|
ericsesterhenn: Fix #1028 (False positive resource leak)
|
2009-11-30 16:45:19 +01:00 |
Daniel Marjamäki
|
42ffea4f16
|
Fixed #968 (False positive when TEMP_FAILURE_RETRY used)
|
2009-11-18 17:17:37 +01:00 |
Daniel Marjamäki
|
b5cbc509f3
|
Fixed #483 (False positive: found leak when foreach for lists used)
|
2009-11-15 10:30:00 +01:00 |
Daniel Marjamäki
|
14fd0154d2
|
memory leaks: simple code cleanup
|
2009-11-15 09:53:38 +01:00 |
Daniel Marjamäki
|
fee96f3cd6
|
Fixed #944 (new false positives against Wine Git Tree)
|
2009-11-14 09:06:28 +01:00 |
Daniel Marjamäki
|
1187587521
|
Fixed #919 (possible memory leak not detected)
|
2009-11-13 20:22:28 +01:00 |
Daniel Marjamäki
|
0682db47a7
|
Memory leaks: Detect simple leak
|
2009-10-27 23:08:11 +01:00 |
Daniel Marjamäki
|
45b0758e71
|
Fixed #860 (Improve double delete detection)
|
2009-10-27 21:28:03 +01:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |
Daniel Marjamäki
|
26a81e82cc
|
Fixed #253 (MemoryLeakInClass: False positive when memory is released in function, which is called from destructor)
|
2009-10-24 15:07:14 +02:00 |
Daniel Marjamäki
|
2c8a418c7e
|
Memory leaks: Added and fixed testcase TestMemleakInClass::class13
|
2009-10-23 20:04:47 +02:00 |
Daniel Marjamäki
|
701d622ff0
|
Fixed #428 (Memory leak not detected with class)
|
2009-10-22 21:51:58 +02:00 |
Daniel Marjamäki
|
58790eda82
|
Fixed #449 (false postive:: resource leak when using errno)
|
2009-10-18 13:17:05 +02:00 |
Daniel Marjamäki
|
ed3860a0a7
|
Fixed #805 (False positive: Member functions not handled correctly)
|
2009-10-12 21:36:28 +02:00 |
Reijo Tomperi
|
ab762b1a00
|
Fix #388 (resource leak not detected, allocation through function call)
http://sourceforge.net/apps/trac/cppcheck/ticket/388
|
2009-10-06 23:14:32 +03:00 |
Daniel Marjamäki
|
36fb24b1a5
|
memory leaks: don't write errors for static member variables
|
2009-10-06 18:25:00 +02:00 |
Daniel Marjamäki
|
23d8937661
|
Fixed #789 (false positive: resource leak reported when using for loop)
|
2009-10-04 19:58:41 +02:00 |
Daniel Marjamäki
|
6b1fae75e5
|
Fixed #785 (False positive: resource leak of extern FILE*)
|
2009-10-04 14:24:41 +02:00 |
Daniel Marjamäki
|
af5a695f82
|
Fixed #727 (False positive: Resource leak when release is done inside function call)
|
2009-10-04 13:10:08 +02:00 |
Daniel Marjamäki
|
4387071eb1
|
Fixed #733 (New check: locking & unlocking mutex and semaphore variables)
|
2009-10-03 21:46:22 +02:00 |
Daniel Marjamäki
|
57067f6627
|
memory leaks: refactoring unit tests
|
2009-10-01 22:25:59 +02:00 |
Reijo Tomperi
|
b3ad712b61
|
Fix #421 (Memory leak not found when typeid() is used.)
http://sourceforge.net/apps/trac/cppcheck/ticket/421
|
2009-10-01 11:56:59 +03:00 |
Daniel Marjamäki
|
e3e8224b4e
|
memory leaks: fixed TODO_ASSERT_EQUALS
|
2009-09-30 22:27:00 +02:00 |
Reijo Tomperi
|
f9871c2d54
|
Fix #745 (false positive: possible null pointer dereference , while)
http://sourceforge.net/apps/trac/cppcheck/ticket/745
|
2009-09-30 21:42:14 +03:00 |
Daniel Marjamäki
|
311f6dc92e
|
Fixed #746 (False positive, Memory leak when goto is used)
|
2009-09-28 22:58:06 +02:00 |
Daniel Marjamäki
|
1427f0a2c7
|
memory leaks: fixed a TODO_ASSERT_EQUALS for a false positive
|
2009-09-28 22:41:45 +02:00 |
Daniel Marjamäki
|
a61abcbbc8
|
Fixed #728 (False positive, resource leak, when released in a loop)
|
2009-09-27 21:49:07 +02:00 |
Reijo Tomperi
|
fdde2182b9
|
Fix GPL comments in all files. ">." was missing from the end.
|
2009-09-27 18:08:31 +03:00 |
Daniel Marjamäki
|
482a2f9d95
|
Fixed #718 (False positive, resource leak when break in a loop before exit)
|
2009-09-26 07:19:22 +02:00 |
Daniel Marjamäki
|
6db95cd01c
|
Memory leaks: Added a TODO assertion for a false positive
|
2009-09-25 22:01:54 +02:00 |
Daniel Marjamäki
|
cd94d50526
|
Memory leaks: fixed a TODO_ASSERT_EQUALS
|
2009-09-24 22:40:18 +02:00 |
Daniel Marjamäki
|
fa4e0a617e
|
Fixed #700 (False positive: Memory leak)
|
2009-09-23 22:42:07 +02:00 |
Daniel Marjamäki
|
ad92aa4c20
|
Fixed #715 (False positive: Resource leak when exit() after if loop)
|
2009-09-22 18:09:29 +02:00 |
Reijo Tomperi
|
661e4504cb
|
astyle fix
|
2009-09-19 14:21:50 +03:00 |
Daniel Marjamäki
|
8f96c1992a
|
Fixed #688 (False positive in error category when --all is used)
|
2009-09-19 08:23:10 +02:00 |
Daniel Marjamäki
|
5efedf85d6
|
Fixed #671 (False positive. Leak when loop is before exit)
|
2009-09-15 22:26:38 +02:00 |
Daniel Marjamäki
|
1d974f7c05
|
memory leaks: added test assertion. simplify ';alloc;exit;' to ';exit;'
|
2009-09-13 07:20:42 +02:00 |
Daniel Marjamäki
|
5df28c51c6
|
memory leaks: minor refactorings
|
2009-09-12 21:13:47 +02:00 |
Daniel Marjamäki
|
ab4a7fdef2
|
Fixed #518 (False positive for leaks when function from err()-family used)
|
2009-09-12 14:11:17 +02:00 |
Daniel Marjamäki
|
333c6d9e0a
|
memory leaks: Added a todo test case for the getcode function
|
2009-09-04 19:11:19 +02:00 |
Daniel Marjamäki
|
93659bbe08
|
memory leaks: fixed a todo testcase to find more leaks
|
2009-09-01 20:12:53 +02:00 |
Daniel Marjamäki
|
9a47b7110e
|
memory leaks: fixed todo testcases to find more memory leaks
|
2009-09-01 20:02:28 +02:00 |
Slava Semushin
|
0ec848b1fa
|
test/testmemleak.cpp(dofindleak): provide settings object with debug enabled.
This allows to print tokens when syntax error found in one of tests.
|
2009-09-02 00:38:35 +07:00 |
Daniel Marjamäki
|
7ba244cf45
|
Memory leaks: fixed a todo testcase
|
2009-09-01 19:33:17 +02:00 |
Daniel Marjamäki
|
59a4a36fe1
|
memory leaks: minor fix for testcase
|
2009-09-01 19:06:34 +02:00 |
Reijo Tomperi
|
67a8a3225c
|
astyle fix
|
2009-08-30 23:07:37 +03:00 |
Daniel Marjamäki
|
960fb861da
|
Refactoring: Refactoring of the unit testing for the CheckMemoryLeakInFunction
|
2009-08-30 21:11:15 +02:00 |
Daniel Marjamäki
|
9d7defad22
|
Fixed #615 (Memleak was detected in 1.32 but not in 1.33 and later)
|
2009-08-29 17:33:57 +02:00 |
Daniel Marjamäki
|
1dd2ec4757
|
Fixed #414 (memory leak in if-else construct not detected)
|
2009-08-29 16:55:43 +02:00 |
Daniel Marjamäki
|
270d2b2d4f
|
memory leaks: improved the simplification of 'if* ;'
|
2009-08-29 16:27:16 +02:00 |
Daniel Marjamäki
|
8f1f89ae2b
|
memory leaks: fixed todo test case. reduce exit better
|
2009-08-29 16:03:23 +02:00 |
Daniel Marjamäki
|
6347d0e976
|
memory leaks: better handling of open/close
|
2009-08-29 09:18:21 +02:00 |
Daniel Marjamäki
|
88d0bd3908
|
astyle
|
2009-08-29 08:20:18 +02:00 |
Daniel Marjamäki
|
ee5b2a43c7
|
Fixed #627 (False positive with --all, Resource leak with open())
|
2009-08-29 07:43:44 +02:00 |
Daniel Marjamäki
|
de9e62e90a
|
Memory leaks: handling asprintf better
|
2009-08-29 07:26:32 +02:00 |
Daniel Marjamäki
|
406fdd3219
|
Memory leaks: Fixed two todo testcases (getcode handling of asprintf)
|
2009-08-29 07:02:36 +02:00 |
Daniel Marjamäki
|
ab047c680c
|
memory leaks: fixed a todo testcase
|
2009-08-29 06:42:24 +02:00 |
Daniel Marjamäki
|
74fd052fc0
|
Memory leaks: Testing that asprintf is handled correctly
|
2009-08-28 23:26:40 +02:00 |
Reijo Tomperi
|
e3c1e14bb0
|
astyle fix
|
2009-08-26 00:41:03 +03:00 |
Daniel Marjamäki
|
d67e3fcc49
|
Refactoring the unit tests of TestMemleakInFunction
|
2009-08-25 22:18:22 +02:00 |
Daniel Marjamäki
|
c25e1963b1
|
Fixed #498 (Tokenizer: simplify 'goto')
|
2009-08-24 23:10:12 +02:00 |
Daniel Marjamäki
|
9da2ecf4f4
|
Refactoring the unit testing. Wrote special tests for CheckMemoryLeakInFunction::findleak
|
2009-08-23 15:48:25 +02:00 |
Daniel Marjamäki
|
0da25081d5
|
refactoring: began refactoring the unit testing for CheckMemoryLeakInFunction. More specific testing of the functions getcode, simplifycode, call_func, etc
|
2009-08-23 11:26:17 +02:00 |
Daniel Marjamäki
|
8b46172bcf
|
Memory leaks: Use varid instead of varname
|
2009-08-19 19:42:07 +02:00 |
Daniel Marjamäki
|
85682ed429
|
Fixed #591 (False positive: Deallocating a deallocated pointer)
|
2009-08-18 20:49:08 +02:00 |
danmar
|
3de825c290
|
Borland C++ Builder: Fixed compilation and testrunner problems
|
2009-08-13 22:13:52 +02:00 |
Daniel Marjamäki
|
ecdbcbce3d
|
Fixed #566 (False positive when assigning the return value of realloc(NULL,..) to a pointer variable holding a freed memory address)
|
2009-08-10 22:04:28 +02:00 |
Daniel Marjamäki
|
ce8c5b0236
|
Fixed #555 (False positive: [CuTest.c:25]: (error) Memory leak: len)
|
2009-08-05 21:18:16 +02:00 |
Daniel Marjamäki
|
9e348ca739
|
Fixed #554 (resource leak false positive)
|
2009-08-04 21:34:14 +02:00 |
Daniel Marjamäki
|
706ba34a6d
|
Refactoring the unit testing
|
2009-08-04 21:32:14 +02:00 |
Reijo Tomperi
|
769119c725
|
Fix ticket #552 (False positive with --all when realloc is used with two variables.)
http://sourceforge.net/apps/trac/cppcheck/ticket/552
|
2009-08-02 23:30:43 +03:00 |
Reijo Tomperi
|
10f6678cf9
|
TODO test case realloc5 added and "Checkmemoryleak: simplifycode result for" debug info added.
|
2009-08-02 22:23:47 +03:00 |
Daniel Marjamäki
|
b7ffcf53ba
|
Fixed #511 (false positive, memory leak when using 'var = ({});')
|
2009-07-31 23:42:21 +02:00 |
Daniel Marjamäki
|
050b85c5eb
|
memory leak for struct member: fixed false positive when the struct pointer is stored away
|
2009-07-29 11:38:20 +02:00 |
Daniel Marjamäki
|
6bb85703f6
|
memory leaks: fixed false positive for struct members - better handling of if/else
|
2009-07-24 09:05:40 +02:00 |
Daniel Marjamäki
|
73c028bdb7
|
memory leaks: added a todo test case for struct members when using if-else
|
2009-07-23 22:29:31 +02:00 |
Daniel Marjamäki
|
565ac2fca6
|
Fixed #493 (Memory leak: False positive when using the exit(0))
|
2009-07-23 16:30:30 +02:00 |
Daniel Marjamäki
|
3243933c90
|
Fixed #494 (False positives of checking leaks struct members)
Better handling of function calls
|
2009-07-22 08:30:51 +02:00 |
Daniel Marjamäki
|
6f646246ee
|
dereferencing deallocated memory: it is ok to take the address to deallocated memory but it is not ok to dereference the address
|
2009-07-21 13:04:13 +02:00 |
Daniel Marjamäki
|
74699cab66
|
memory leak for struct member: made the checking more sensitive. Skip bail-out execution paths were the member is properly deallocated
|
2009-07-20 14:39:24 +02:00 |
Daniel Marjamäki
|
ddaea3244d
|
memleak: implemented simple checking for leaking struct members
|
2009-07-19 16:51:31 +02:00 |
Daniel Marjamäki
|
ffac9281c4
|
astyle formatting
|
2009-07-18 20:35:22 +02:00 |
Slava Semushin
|
2ba0897ecb
|
src/checkmemoryleak.cpp: added fchmod() function to white list.
|
2009-07-18 23:48:48 +07:00 |
Slava Semushin
|
a0a526a205
|
Fixed ticket #464 (resource leak not detected when getc is used on the file handle)
http://sourceforge.net/apps/trac/cppcheck/ticket/464
|
2009-07-18 18:32:55 +07:00 |
Daniel Marjamäki
|
7d35447d80
|
refactoring: renamed the severity "all" to "possible error"
|
2009-07-13 10:16:31 +02:00 |
Daniel Marjamäki
|
2a02041fd8
|
memleak: fixed todo test case
|
2009-07-07 15:22:37 +02:00 |
Daniel Marjamäki
|
7b2f6b6173
|
addon to previous commit - changed ASSERT_EQUALS to TODO_ASSERT_EQUALS for the todo test case
|
2009-07-06 12:38:04 +02:00 |