Commit Graph

18244 Commits

Author SHA1 Message Date
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 bcd292ffaa Updated 'todo.txt' 2008-03-17 05:53:29 +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 d9fc9762b8 Removed 'checkproj.bat' (Deprecated) 2008-03-15 17:06:27 +00:00
Daniel Marjamäki d6db5ae1bc updated command syntax example 2008-02-22 14:58:53 +00:00
Daniel Marjamäki 1594432285 allow duplicate error messages in tests 2008-02-22 14:35:44 +00:00
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