Commit Graph

41 Commits

Author SHA1 Message Date
Daniel Marjamäki bee1c1fb8d Refactoring CheckMemoryLeak to detect more leaks 2008-04-08 07:03:32 +00:00
Daniel Marjamäki 137a4c6309 CheckBufferOverrun: Removed a false positive 2008-04-06 11:53:23 +00:00
Daniel Marjamäki fd9ca7c300 Re-adding CheckMemoryLeak functionality. More work is still needed. 2008-04-05 12:27:02 +00:00
Daniel Marjamäki 0bd9f3a8fa Further improvements of CheckMemoryLeak. Still not working as good as a few revisions ago. 2008-04-04 04:29:28 +00:00
Daniel Marjamäki f055ecf708 Refactoring CheckMemoryLeak 2008-04-03 06:15:26 +00:00
Daniel Marjamäki b6868b7f1a Rewriting CheckMemoryLeak (Just Started) 2008-04-02 05:09:35 +00:00
Daniel Marjamäki 60e454fa11 Minor updates. Removed some false positives when checking variable scope 2008-04-01 06:21:12 +00:00
Daniel Marjamäki 89605c0167 Fixed minor bugs 2008-03-29 17:27:02 +00:00
Daniel Marjamäki 69d33444d4 Added style checks to check for unused global functions 2008-03-29 09:44:23 +00:00
Daniel Marjamäki f8569f0db4 Refactoring: Removed 'HasErrors'. Better usage of 'Match'. Hid the 'FunctionList' 2008-03-28 17:40:24 +00:00
Daniel Marjamäki 4691999ede Refactoring: Replaced deprecated "match" with the new "Match" 2008-03-28 07:18:03 +00:00
Daniel Marjamäki bf6926232b CheckBufferOverrun: Improved checking of arrays declared like this: "type * var [ num ]" 2008-03-27 05:41:21 +00:00
Daniel Marjamäki fcff7a4052 Refactoring of 'CheckBufferOverrun.cpp' 2008-03-24 19:32:17 +00:00
Daniel Marjamäki 954cccf843 Removed checking of 'dynamic data' it's impossible to determine if it's
false or true positives without deeper analysis.
2008-03-24 11:00:04 +00:00
Daniel Marjamäki 4c17dd9499 Buffer overrun in function parameter 2008-03-23 16:18:31 +00:00
Daniel Marjamäki 75debeba37 Reverted 205:207 2008-03-23 13:38:01 +00:00
Daniel Marjamäki 3dfc79d3b6 Refactoring: Use 'setindentlevel' 2008-03-23 07:57:27 +00:00
Daniel Marjamäki 13f681879f Handling pointers in 'CheckBufferOverrun_StructVariable' 2008-03-21 18:55:29 +00:00
Daniel Marjamäki 0a86992806 Check for buffer overruns for struct members (only numeric) 2008-03-21 17:25:25 +00:00
Daniel Marjamäki c5e7cb4032 'CheckUnsignedDivision' -> more errors. 'CheckVariableScope' -> removed false errors. 2008-03-21 06:44:52 +00:00
Daniel Marjamäki d0cffeaa8c Updated tokenizer. To handle "#define f1(a,b) (a+b)" better 2008-03-18 07:45:35 +00:00
Daniel Marjamäki 101afe4344 Checking variable scope 2008-03-17 11:05:30 +00:00
Daniel Marjamäki 119e719d52 bug fixes for 'CheckVariableScope' 2008-03-16 17:39:38 +00:00
Daniel Marjamäki a9524b9207 Added test 'CheckVariableScope'. Increased constness. 2008-03-16 13:17:43 +00:00
Daniel Marjamäki c366278b48 added 'todo.txt' 2008-03-16 07:07:51 +00:00
Daniel Marjamäki 1594432285 allow duplicate error messages in tests 2008-02-22 14:35:44 +00:00
Daniel Marjamäki 08b3b2ab63 CheckUnsignedDivision: Added check. Not very accurate yet. 2008-02-20 18:20:59 +00:00
Daniel Marjamäki a40c1e9eb7 CheckClass: Improved constructor checking 2008-02-19 07:09:09 +00:00
Daniel Marjamäki edc4177df3 ClassChecking: Only enable the 'no constructor' warning if '--style' is given 2008-02-18 17:04:14 +00:00
Daniel Marjamäki 46d8fe0fad Class Checking: No constructor 2008-02-18 16:28:37 +00:00
Daniel Marjamäki f06c65c071 checking multiple files 2008-02-17 18:28:51 +00:00
Daniel Marjamäki 0b5e6a55d4 Unit Testing: Checking for mismatching allocation / deallocation 2008-02-17 16:19:01 +00:00
Daniel Marjamäki ac6ce3a0d1 Unit Testing: Testing the statement list 2008-02-17 15:47:37 +00:00
Daniel Marjamäki 5450b64a8a Unit Testing: Moved the 'internaltesting' 2008-02-17 15:23:14 +00:00
Daniel Marjamäki c66846353c Unit Testing: Moving memleak checks 2008-02-17 11:45:06 +00:00
Daniel Marjamäki 2dace08aae Unit Testing: Moved 'testmemcheck' 2008-02-16 18:24:13 +00:00
Daniel Marjamäki 84286241ef Unit Testing: Moved 'testUninitVar1' 2008-02-16 17:55:29 +00:00
Daniel Marjamäki 1d36ff1d3f Unit Testing: Moved constructor and operator= checks 2008-02-16 17:50:18 +00:00
Daniel Marjamäki 025e321892 Testing: Removed old file 'testall'. Testing will be handled by
'tests.cpp'.
2008-02-16 16:58:49 +00:00
Daniel Marjamäki 851e81cd12 Unit Testing: All tests for buffer overruns were moved 2008-02-16 16:45:56 +00:00
Daniel Marjamäki 4cb3c7b96b Unit Testing: Start 2008-02-16 15:46:32 +00:00