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
|
914244c82c
|
Borland C++: Removed project files as gcc will from now on by the
primary development environment
|
2008-02-16 17:01:20 +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 |
Daniel Marjamäki
|
a8e6a4c343
|
Better checking of uninitialized variables
|
2008-01-17 07:46:10 +00:00 |
Daniel Marjamäki
|
f3a96109eb
|
check npp472 instead of npp41
|
2008-01-11 07:30:56 +00:00 |
Daniel Marjamäki
|
a770561de4
|
check for uninitialized variables - less generic to increase accuracy
|
2008-01-10 19:01:16 +00:00 |
Daniel Marjamäki
|
2d8a6d3f47
|
Added 'testall' which is a simple bash-script that runs all tests
|
2008-01-05 16:53:51 +00:00 |
Daniel Marjamäki
|
658f33328b
|
remove false positives (uninitialized class members)
|
2007-10-29 08:20:07 +00:00 |
Daniel Marjamäki
|
c5580b8464
|
CheckClass: Treating all "std::*" as initialized.
|
2007-10-23 06:37:13 +00:00 |
Daniel Marjamäki
|
5070bfd87d
|
tokenizer: removed some preprocessing => less false positives
|
2007-10-23 06:36:29 +00:00 |
Daniel Marjamäki
|
e7e9402ab0
|
disabled checks that generates false positives
|
2007-10-22 06:59:28 +00:00 |
Daniel Marjamäki
|
8d116542ab
|
Removing false positives
|
2007-08-31 04:23:09 +00:00 |
Daniel Marjamäki
|
2b3f362dfd
|
Added 2 checks for memory leaks
|
2007-07-27 08:11:07 +00:00 |
Daniel Marjamäki
|
639d5fe344
|
Don't allow search pattern in the filename yet. There's no way to solve it through ANSI C.
|
2007-07-26 06:17:25 +00:00 |
Daniel Marjamäki
|
d3f30c0a6e
|
Minor update: Updated the readme and checkproj files.
|
2007-07-26 06:16:29 +00:00 |
Daniel Marjamäki
|
e816bff240
|
TestCond1: Updated test. It didn't have a "err.msg" file
|
2007-07-26 06:16:01 +00:00 |
Daniel Marjamäki
|
e82ac787c6
|
Added test: "testcasebreak"
|
2007-07-26 06:15:10 +00:00 |
Daniel Marjamäki
|
ae8a914832
|
Searching multiple files
|
2007-07-24 06:24:12 +00:00 |
Daniel Marjamäki
|
8c0c57ddf4
|
Added checks:
* CheckIfAssignment: assignment in condition
* CheckCaseWithoutBreak: case but no break/return
|
2007-07-24 06:23:28 +00:00 |
Daniel Marjamäki
|
eb0361d6b5
|
Command line options: Added "--all" and "--style", removed "-w"
|
2007-07-20 15:43:39 +00:00 |
Daniel Marjamäki
|
6ee93c2d62
|
bufferoverrun.txt: Added file that contains thoughts and ideas concerning buffer overruns.
|
2007-07-20 06:21:40 +00:00 |
Daniel Marjamäki
|
5b6ab28e0b
|
For the highest accuracy, don't warn for all memory leaks unless the "-w" is given
|
2007-07-20 06:20:31 +00:00 |
Daniel Marjamäki
|
8af24ee783
|
Always give a warning when 'memset' is used upon a class
|
2007-07-20 06:18:33 +00:00 |
Daniel Marjamäki
|
3ee0d3c9d3
|
Improved the buffer overrun checks. Results that are not 100% certain must be enabled through the "-w".
|
2007-07-19 06:21:01 +00:00 |
Daniel Marjamäki
|
ade2265ed2
|
Minor modifications to make it compile on linux
|
2007-07-18 06:37:37 +00:00 |
Daniel Marjamäki
|
93b3e2e5aa
|
Buffer overruns, using string with unknown length
|
2007-07-18 06:12:16 +00:00 |
Daniel Marjamäki
|
7ea6e10f1f
|
Minor updates to make it easier to port to Linux
|
2007-07-17 06:39:34 +00:00 |
Daniel Marjamäki
|
ba13ad5e3c
|
Minor updates to make it portable to Linux.
|
2007-07-17 06:15:50 +00:00 |
Daniel Marjamäki
|
b0d9994210
|
CheckHeaders: Checking if included headers are needed
|
2007-06-11 13:56:51 +00:00 |
Daniel Marjamäki
|
9af3e36c4d
|
CheckOther: minor bug fix
|
2007-06-10 18:26:06 +00:00 |
Daniel Marjamäki
|
6ed70ae745
|
CheckMemoryLeak: Detect memory leaks for class members
|
2007-06-10 18:25:39 +00:00 |
Daniel Marjamäki
|
8a1ec67b22
|
CheckOther: Improved the check that checks 'if (condition) var=true;'
|
2007-06-09 18:36:52 +00:00 |
Daniel Marjamäki
|
f0f117d4f6
|
CheckHeaders: Improved the check that checks included headers.
|
2007-06-09 18:25:08 +00:00 |
Daniel Marjamäki
|
0bea996e4d
|
CheckHeaders: Updated message
|
2007-06-08 18:56:11 +00:00 |
Daniel Marjamäki
|
5b9513b17d
|
Tokenize: generate tokens on '#define' (CheckIncludedHeaders)
|
2007-06-08 18:55:44 +00:00 |
Daniel Marjamäki
|
f36ab6dc61
|
Updated the tests
|
2007-06-08 18:32:23 +00:00 |
Daniel Marjamäki
|
9da999b53f
|
Checking Notepad++: Enabled all warnings
|
2007-06-08 18:20:13 +00:00 |
Daniel Marjamäki
|
5b83f5d0cd
|
CheckOther: Added check. 'if (condition) var=true; else var=false;' => 'var = (condition);'
|
2007-06-08 18:19:15 +00:00 |
Daniel Marjamäki
|
b3a3097b66
|
CheckHeaders: Limit the number of warnings about 'implementation in header'
|
2007-06-08 18:17:32 +00:00 |
Daniel Marjamäki
|
bc70635e10
|
Main: More checks are only done when the '-w' flag is given.
|
2007-06-08 18:01:23 +00:00 |
Daniel Marjamäki
|
7801d262a2
|
CheckHeaders: Bug fix
|
2007-06-08 17:19:31 +00:00 |
Daniel Marjamäki
|
148ac8a57a
|
CheckHeaders: Bug fix
|
2007-06-08 16:57:20 +00:00 |
Daniel Marjamäki
|
746c99be28
|
Modified comments
|
2007-06-08 16:46:51 +00:00 |
Daniel Marjamäki
|
abc1f6816d
|
CheckHeaders: Check if all included headers are needed
|
2007-06-08 16:46:06 +00:00 |
Daniel Marjamäki
|
0525aeb5e4
|
Added check: "if (condition) var=true;" can be written as "var|=(condition);"
|
2007-06-06 17:33:28 +00:00 |