Daniel Marjamäki
|
9607f3f4ce
|
CheckMemoryLeak: updated the checking so that all execution paths are tried
|
2008-08-07 19:50:01 +00:00 |
Daniel Marjamäki
|
3708fde176
|
tests: updated the tests
|
2008-05-14 04:31:56 +00:00 |
Daniel Marjamäki
|
3bf21680b2
|
testing: Added test for mismatching allocation and deallocation
|
2008-05-10 14:01:12 +00:00 |
Daniel Marjamäki
|
7ae162792e
|
CheckMemoryLeak: Handling functions that allocate memory
|
2008-05-10 07:33:50 +00:00 |
Daniel Marjamäki
|
58b1b5f101
|
CheckStructMemberUsage: Added more cases
|
2008-05-10 06:48:37 +00:00 |
Daniel Marjamäki
|
219d82e180
|
CheckStructMemberUsage: Check for unused struct members
|
2008-05-09 18:29:42 +00:00 |
Daniel Marjamäki
|
4094f6bc6e
|
CheckMemoryLeak: Removed false positives
|
2008-05-04 10:15:39 +00:00 |
Daniel Marjamäki
|
a4486fb883
|
CheckConstantFunctionParameters: Updated the check to handle all std::.. struct and class
|
2008-05-03 09:44:20 +00:00 |
Daniel Marjamäki
|
7708c2c1d1
|
CheckMemoryLeak: Small fixes and updates
|
2008-04-14 18:42:30 +00:00 |
Daniel Marjamäki
|
53f078fc1d
|
Minor updates. Added todo. Refactoring
|
2008-04-12 12:07:35 +00:00 |
Daniel Marjamäki
|
4805f48a4f
|
CheckMemoryLeak: Improved the checking
(tests.cpp:memleak_in_function:test16)
|
2008-04-12 11:44:32 +00:00 |
Daniel Marjamäki
|
90c2822031
|
CheckMemoryLeak: fixed bug that caused false positives
|
2008-04-12 11:33:48 +00:00 |
Daniel Marjamäki
|
bb5276024b
|
Added testcase to look at later
|
2008-04-12 10:54:46 +00:00 |
Daniel Marjamäki
|
1d258a55a4
|
Make it possible to disable memory leak checking for a variable. Usable to avoid false positives
|
2008-04-11 18:37:15 +00:00 |
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 |