Commit Graph

22285 Commits

Author SHA1 Message Date
Daniel Marjamäki a6696d6f7d Removed false positives and also duplicate error messages. 2008-02-22 14:30:43 +00:00
Daniel Marjamäki 942c48474c comments 2008-02-22 07:26:23 +00:00
Daniel Marjamäki 6e2e624bce Removed false positives 2008-02-22 07:26:10 +00:00
Daniel Marjamäki 6100b19640 sort the files before checking to make the results comparable 2008-02-22 07:25:31 +00:00
Daniel Marjamäki e9682bbb0e Fixed bug (Dereferencing NULL) 2008-02-21 20:17:18 +00:00
Daniel Marjamäki 7bbdb7a3ba removed false positives for CheckUnsignedDivision 2008-02-21 19:05:11 +00:00
Daniel Marjamäki 97003e8064 recursive checking when compiling with gcc 2008-02-21 19:01:24 +00:00
Daniel Marjamäki b6ea2e43ff recursive checking when compiled by borland c++ 2008-02-21 17:56:51 +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 7ee67f2e64 Refactoring: Removed unneeded parameter PointerType 2008-02-18 17:12:13 +00:00
Daniel Marjamäki 72d9e43f92 Made it compilable by borland c++ 2008-02-18 17:11:34 +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 a51e012a5a Added list of bugs that cppcheck find (incomplete) 2008-02-17 17:22:21 +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 92b5af4abc Cleanup old testing 2008-02-17 11:58:37 +00:00
Daniel Marjamäki 89061edbba Cleanup old tests 2008-02-17 11:57:10 +00:00
Daniel Marjamäki 6080808878 Cleanup of old testcases 2008-02-17 11:53:39 +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 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