Commit Graph

190 Commits

Author SHA1 Message Date
Daniel Marjamäki 56ae77ba87 Fixed (Cppcheck 1.47 - Crash on WinMerge-Trunk (Win7 x64)) 2011-02-08 20:18:15 +01:00
Daniel Marjamäki dbc5929fa2 Fixed (false positive: memory leak (struct member, address is taken)) 2011-02-04 20:41:35 +01:00
Robert Reif 514c9b9b23 Fixed (make CheckMemoryLeakInClass also check structures) 2011-02-04 20:17:25 +01:00
Raphael Geissert f8e2d50e6f Use Token::simpleMatch where no special patterns are needed 2011-02-02 13:27:02 -06:00
Raphael Geissert 8d5863133c Use Token::simpleMatch where no patterns are used 2011-02-02 13:27:01 -06:00
Robert Reif 09998d9e18 Memory leaks: less conservative checking of classes. ticket: 2011-01-30 08:38:20 +01:00
Daniel Marjamäki 0624e418f1 Memory leaks: bug fix. don't skip '}' by accident 2011-01-29 18:46:55 +01:00
Daniel Marjamäki f947955c63 Fixed (False positive: memory leak 'return &self->foo;') 2011-01-22 13:40:19 +01:00
Robert Reif d73709a620 Symbol database: rename variables. ticket: 2011-01-21 07:42:41 +01:00
Robert Reif c994508c3e Symbol database: Refactor the variables API. ticket: 2011-01-18 07:32:06 +01:00
Daniel Marjamäki 065e2e277e Fixed (False positive: Memory leak when there is local struct) 2011-01-17 19:00:21 +01:00
Robert Reif 959e10cee5 Symbol database: renamed classes. ticket: 2011-01-17 18:29:19 +01:00
Robert Reif bf9528558e Symbol database: pulled out classes into global scope. ticket: 2011-01-17 07:21:59 +01:00
Robert Reif d341b42b0c Symbol database: increased constness. ticket: 2011-01-16 18:13:54 +01:00
Daniel Marjamäki 8ef47dc576 astyle formatting 2011-01-16 09:57:56 +01:00
Daniel Marjamäki 8fa26fbd28 Memory leaks: Optimised and refactored 2011-01-16 09:56:04 +01:00
Zachary Blair 38be7056b0 Fixed (FP memleakOnRealloc) 2011-01-12 22:33:46 -08:00
Daniel Marjamäki 09f900ce79 Fixed (False negative: basic memory leak) 2011-01-11 20:14:15 +01:00
Daniel Marjamäki 2d92f1ff6a Fixed (False positive: Memory leak when function returns in 'if' instead of 'else if') 2011-01-10 19:35:06 +01:00
Reijo Tomperi 226b605774 Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
Daniel Marjamäki 67a1c6817b Error message: Replace " with ' around variable name 2011-01-08 14:35:18 +01:00
Raphael Geissert 2b1ec9a07f Mention the name of the variable in the inconclusive leak msg 2011-01-03 20:40:31 -06:00
Daniel Marjamäki b5876f00ff Fixed (cstdlib file and memory function check misbehavior) 2011-01-02 08:32:51 +01:00
Daniel Marjamäki 2a77dd3df1 Fixed (Improve check: Memory leak, function is not noreturn if return value is taken) 2011-01-01 20:14:01 +01:00
Daniel Marjamäki 3eabb4ebe0 Added comments in the memory leaks checking 2011-01-01 13:28:34 +01:00
Daniel Marjamäki 0cc49188c0 Memory leaks: localized variables 2011-01-01 12:27:57 +01:00
Daniel Marjamäki 3d3593e6e7 Fixed (False 'memory leak' report (assigning to map in subfunction)) 2010-12-29 22:18:23 +01:00
Daniel Marjamäki 00e9822cb3 Fixed (False Positive: memory leak) 2010-12-22 18:32:00 +01:00
Daniel Marjamäki 6951c32683 Fixed (False positive: memory leak (passing pointer to subfunction)) 2010-12-21 21:12:45 +01:00
Daniel Marjamäki 814efb2512 Fixed (False Positive: memory leak) 2010-12-17 21:34:22 +01:00
Daniel Marjamäki 49ee1533d9 Fixed (false positive: The given size 3 is mismatching) 2010-12-16 21:27:33 +01:00
vBm 46a11183a5 Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
Robert Reif 4d2c210f2a Symbol database: use in checkmemoryleaks.cpp. ticket: 2010-12-09 06:15:01 +01:00
Daniel Marjamäki cad9c5f232 Fixed (False Positive: memory leak) 2010-12-08 21:02:02 +01:00
Robert Reif c6e67d4aad Symbol database: use symbol database in the memory leaks function checking. Ticket: 2010-12-08 07:49:01 +01:00
Robert Reif b6acfa809b Symbol database: creates a single symbol database within Tokenizer on demand and changes all checks to use it 2010-12-07 07:08:49 +01:00
Robert Reif 271d8988aa Symbol database: fixed a TODO test where class variables were qualified with the class name 2010-12-07 07:07:36 +01:00
Robert Reif 6c719c5806 Symbol database: removed unnecessary null pointer checks 2010-12-07 07:07:07 +01:00
Daniel Marjamäki 26864dd011 Memory leaks: Removed the experimental checking using ExecutionPath. 2010-12-06 21:46:18 +01:00
Robert Reif 626a814241 Symbol database: better handling of inline functions. Ticket: 2010-12-05 20:26:52 +01:00
Robert Reif 758fc85a12 Memory leaks: Determine that some classes are not auto-deallocated. Reduce false negatives. Ticket: and 2010-12-04 07:29:12 +01:00
Daniel Marjamäki 0081800a20 Fixed (False positive: memory leak) 2010-11-30 19:36:04 +01:00
Daniel Marjamäki 6761765a70 Fixed (False positive: Resource leak: fd) 2010-11-30 19:14:31 +01:00
Daniel Marjamäki 4de64209fb Fixed (memory leak : pointer inserted in an object) 2010-11-29 19:53:34 +01:00
Daniel Marjamäki 03a92582ca Fixed (false Resource leak) 2010-11-27 11:09:42 +01:00
Robert Reif 88a1448a07 Symbol database: refactor CheckMemoryLeakInClass::checkPublicFunctions to use the symbol database. Ticket: 2010-11-25 21:04:49 +01:00
Robert Reif 1842a122da reuse symbol database in checkmemoryleak.cpp. ticket: 2010-11-23 18:41:07 +01:00
Daniel Marjamäki 9ccc57a455 Fixed (Improve check: Memory leak not detected when pointer is incremented) 2010-11-20 08:35:23 +01:00
Daniel Marjamäki f7ca4f09ef Fixed (false negative: memory leak when calling subfunction that doesn't deallocate the memory) 2010-11-12 21:09:34 +01:00
Daniel Marjamäki 0328d26fcb Fixed (false positive: resource leak) 2010-11-11 17:40:20 +01:00