Commit Graph

26257 Commits

Author SHA1 Message Date
Daniel Marjamäki 69e5e09581 Testing: Only run tests in a specified class 2008-10-26 11:11:26 +00:00
Daniel Marjamäki cde8e89987 preprocessor: Added new preprocessor. Only used in the tests yet. 2008-10-26 10:54:20 +00:00
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Daniel Marjamäki 4f096f6c07 Usage of Global functions: Only checked if "--all" is given. Show progress. 2008-10-25 17:54:04 +00:00
Daniel Marjamäki 2eb775e536 Reverted [352] it's not a good fix 2008-10-25 17:06:27 +00:00
Daniel Marjamäki de71095e82 CheckMemoryLeak: Fixed bug 2190219 - False positive, Mismatching allocation and deallocation 2008-10-25 16:47:51 +00:00
Daniel Marjamäki 30e1d5c06e CheckIncompleteStatement: Fixed false positive generated by CheckIncompleteStatement (bug 2187837) 2008-10-23 17:45:24 +00:00
Daniel Marjamäki bacc402d04 CheckClass: Minor fix to make it compile in Visual c++ 2008-10-21 08:47:26 +00:00
Daniel Marjamäki 69700da5e1 CheckConstructors: Handle recursion better. Don't hang. 2008-10-19 15:21:18 +00:00
Daniel Marjamäki 65da6b3cd7 Memory Leak: Better checking of mismatching alloc and dealloc for gtk 2008-10-19 15:20:31 +00:00
Daniel Marjamäki f4319a865f Memory Leak: Fixed false positive 2008-10-19 07:23:06 +00:00
Daniel Marjamäki 0658d65a7b tokenize: Fixed possible endless loop problem when handling typedefs 2008-10-19 06:21:01 +00:00
Daniel Marjamäki d839fcb5ba Memory Leak: Better checking of memory leaks in gtk applications 2008-10-18 17:43:07 +00:00
Daniel Marjamäki b235c373a5 testing: Various fixes to make the tests compile without warnings/errors 2008-10-16 17:22:26 +00:00
Daniel Marjamäki fb5707b73e MemoryLeak: Minor fix to reduce false positives 2008-10-16 16:26:29 +00:00
Daniel Marjamäki 7e18a2f689 MemoryLeak: minor updates 2008-10-15 07:04:32 +00:00
Daniel Marjamäki 1978ac3562 Testing: Added macro 'REGISTER_TEST' 2008-10-15 06:48:18 +00:00
Daniel Marjamäki d330eb197a Testing: Updated the testing to the new test framework 2008-10-13 06:42:40 +00:00
Daniel Marjamäki 26549bf916 testing: Removed MiniCppUnit 2008-10-12 17:32:56 +00:00
Daniel Marjamäki b5706fc546 testing: Added a new unit testing framework 2008-10-12 17:31:04 +00:00
Daniel Marjamäki f01ab43eed testmemleak: preparing to add checks of function calls 2008-10-08 07:01:25 +00:00
Daniel Marjamäki b2b3e48ebc Unsigned division: Checking if negative constant is used 2008-10-06 16:42:42 +00:00
Daniel Marjamäki 3d14bbea56 TestDivision: Added two tests of unsigned division when negative constant is used. 2008-10-06 08:52:46 +00:00
Daniel Marjamäki 5115420809 CheckUnsignedDivision: Made it more accurate and moved it to the
standard checks
2008-10-04 12:12:24 +00:00
Daniel Marjamäki c9fc2594e8 CheckMemoryLeak: Removed false positives about not deleting class instances 2008-09-29 06:38:25 +00:00
Daniel Marjamäki 13f5196e52 cppcheck: removed checking of implementation in header. temporarily
commented out the check for variable scope. These changes were made so 
that fewer warning messages will be produced when running c++check
2008-09-24 14:01:45 +00:00
Daniel Marjamäki 534445951c testunusedvar: Added simple testing for unused variables 2008-09-24 11:28:00 +00:00
Daniel Marjamäki 6881a364a2 CheckOther: Minor updates. Removed false positives for CheckScope 2008-09-23 16:03:39 +00:00
Daniel Marjamäki 815dd364ed Incomplete statement: Check for statements that begin with a constant 2008-09-20 17:34:37 +00:00
Daniel Marjamäki c77b81fddd CheckOther: Minor updates in checking of signed char variables and unsigned division 2008-09-16 05:57:57 +00:00
Daniel Marjamäki 528deafe68 CheckUnsignedDivision: Refactoring 2008-09-15 06:40:26 +00:00
Daniel Marjamäki 259e0ce238 tokenize: Fixed a bug in the tokenizer 2008-09-11 18:37:36 +00:00
Daniel Marjamäki ca0f04b825 visual c++: added "--recursive" support 2008-09-11 18:35:08 +00:00
Daniel Marjamäki 5e9f1010ff compilation: Various cross compilation fixes. The "--recursive" option doesn't work on VC now. 2008-09-11 17:03:58 +00:00
Daniel Marjamäki ffb6e1dc6e compilation: hopefully the program should be compilable on VC now 2008-09-10 18:15:33 +00:00
Daniel Marjamäki d942092ac0 memleak: better handling of switch blocks 2008-09-02 07:54:10 +00:00
Daniel Marjamäki deca59aa86 testmemleak: added checks for class members 2008-09-01 06:38:41 +00:00
Daniel Marjamäki aba1ef0d0e memleak: uncommented and fixed the handling of switch 2008-08-31 07:42:54 +00:00
Daniel Marjamäki b88fd769a7 memleak: commented out the switch handling temporarily. it causes
segmentation faults when checking the linux kernel.
2008-08-30 18:42:26 +00:00
Daniel Marjamäki ae322b5f45 made cppcheck compile with g++ 4.3 2008-08-30 18:29:37 +00:00
Daniel Marjamäki 0e267441de djgpp: Fixed compiler warnings/errors when compiling with DJGPP 2008-08-30 16:38:56 +00:00
Daniel Marjamäki 3daf128c0f tokenize: handle simple typedefs 2008-08-28 06:37:11 +00:00
Daniel Marjamäki 778410ccbf char variable usage: Added checking 2008-08-28 06:36:30 +00:00
Daniel Marjamäki 0f036f622b testmemleak: improved the checking of loops 2008-08-27 06:33:27 +00:00
Daniel Marjamäki 7752f2c62c testdivision: changed the error message. hopefully it is clearer 2008-08-27 06:32:35 +00:00
Daniel Marjamäki a8e5d28949 testrunner.cbproj: added 'testbufferoverrun', 'testconstructors' and 'testdivision' 2008-08-27 06:31:19 +00:00
Daniel Marjamäki d59dd1bf7c CheckMemoryLeak: Improved the reducing of "if.." 2008-08-25 18:01:11 +00:00
Daniel Marjamäki e2d1be9b0c testmemleak: replace switch blocks with if blocks 2008-08-24 08:01:58 +00:00
Daniel Marjamäki fd4e8b7345 testing: added 'testconstructors' 2008-08-24 06:47:33 +00:00
Daniel Marjamäki 8cbafe3efe test: Added 'testdivision.cpp' 2008-08-23 16:50:29 +00:00