Commit Graph

  • aba1ef0d0e memleak: uncommented and fixed the handling of switch Daniel Marjamäki 2008-08-31 07:42:54 +0000
  • b88fd769a7 memleak: commented out the switch handling temporarily. it causes segmentation faults when checking the linux kernel. Daniel Marjamäki 2008-08-30 18:42:26 +0000
  • ae322b5f45 made cppcheck compile with g++ 4.3 Daniel Marjamäki 2008-08-30 18:29:37 +0000
  • 0e267441de djgpp: Fixed compiler warnings/errors when compiling with DJGPP Daniel Marjamäki 2008-08-30 16:38:56 +0000
  • 3daf128c0f tokenize: handle simple typedefs Daniel Marjamäki 2008-08-28 06:37:11 +0000
  • 778410ccbf char variable usage: Added checking Daniel Marjamäki 2008-08-28 06:36:30 +0000
  • 0f036f622b testmemleak: improved the checking of loops Daniel Marjamäki 2008-08-27 06:33:27 +0000
  • 7752f2c62c testdivision: changed the error message. hopefully it is clearer Daniel Marjamäki 2008-08-27 06:32:35 +0000
  • a8e5d28949 testrunner.cbproj: added 'testbufferoverrun', 'testconstructors' and 'testdivision' Daniel Marjamäki 2008-08-27 06:31:19 +0000
  • d59dd1bf7c CheckMemoryLeak: Improved the reducing of "if.." Daniel Marjamäki 2008-08-25 18:01:11 +0000
  • e2d1be9b0c testmemleak: replace switch blocks with if blocks Daniel Marjamäki 2008-08-24 08:01:58 +0000
  • fd4e8b7345 testing: added 'testconstructors' Daniel Marjamäki 2008-08-24 06:47:33 +0000
  • 8cbafe3efe test: Added 'testdivision.cpp' Daniel Marjamäki 2008-08-23 16:50:29 +0000
  • 47d796519a test: Added 'testdivision' Daniel Marjamäki 2008-08-23 16:40:53 +0000
  • 3d6093b970 test: Minor polishing Daniel Marjamäki 2008-08-23 16:16:58 +0000
  • 7a07284c7e test: Added the last buffer overrun tests Daniel Marjamäki 2008-08-23 16:15:31 +0000
  • 8c901694b8 testing: Added 'testbufferoverrun' Daniel Marjamäki 2008-08-23 14:12:08 +0000
  • 7268c40560 minicppunit: removed compiler warnings about characters Daniel Marjamäki 2008-08-23 13:17:10 +0000
  • 7269dfa336 CheckMemoryLeak: Updated the handling of 'case' and 'default' a little Daniel Marjamäki 2008-08-23 13:16:25 +0000
  • a7f82f5e57 testing: created new testproject for codegear that uses the minicppunit framework Daniel Marjamäki 2008-08-22 06:31:23 +0000
  • c618971609 testing: Moved tests from tests.cpp to testmemleak.cpp (forwhile, switch) Daniel Marjamäki 2008-08-22 06:30:06 +0000
  • 794cdfd2ee testing: Added tests TestMemoryleak::ifelse Daniel Marjamäki 2008-08-21 18:55:04 +0000
  • 61242571dd testing: Started using the MiniCppUnit framework Daniel Marjamäki 2008-08-21 17:32:34 +0000
  • 1c5ed9b1c0 refactoring: made compilation work in codegear Daniel Marjamäki 2008-08-20 07:32:07 +0000
  • e64eed909b CheckMemoryLeak: Fixed a bug: Don't erase "{ }", replace with ";" Daniel Marjamäki 2008-08-20 06:51:26 +0000
  • 6bdb2ff0dc CheckMemoryLeak: Added testcase (false positive from linux kernel) Daniel Marjamäki 2008-08-19 17:16:55 +0000
  • 0b8f646e0b CheckMemoryLeak: Small improvements Daniel Marjamäki 2008-08-19 04:53:41 +0000
  • 9276783ab9 CheckMemoryLeak: By default skip class memory leaks because there may be various types of garbage collectors Daniel Marjamäki 2008-08-18 06:40:37 +0000
  • 0679b89e84 CheckMemoryLeak: Minor updates Daniel Marjamäki 2008-08-17 18:01:37 +0000
  • daf0563b07 CheckMemoryLeak: Made a test case work Daniel Marjamäki 2008-08-17 17:17:17 +0000
  • 76fdae51d9 CheckMemoryLeak: Simplified and updated the code reducers Daniel Marjamäki 2008-08-16 19:19:56 +0000
  • 68f409aca5 CheckMemoryLeak: Refactoring further Daniel Marjamäki 2008-08-16 17:49:40 +0000
  • b29c916d9f CheckMemoryLeak: Added simple checking Daniel Marjamäki 2008-08-16 16:47:54 +0000
  • 8260cf459a CheckMemoryLeak: Got rid of false positives Daniel Marjamäki 2008-08-16 13:13:36 +0000
  • 0575781a67 CheckMemoryLeak: Refactoring the check Daniel Marjamäki 2008-08-16 12:44:46 +0000
  • c833b51b25 CheckMemoryLeak: Made the checking a lot simpler when "--all" is not given. This should give few false positives Daniel Marjamäki 2008-08-15 19:17:06 +0000
  • fcbd297ff0 tests: Added memory leak test that gives a false positive Daniel Marjamäki 2008-08-15 17:40:08 +0000
  • 0ce33fe1da CheckMemoryLeak: Added testcase and made it work (assume that foo.add(p) deallocates p. Todo to trace into foo.add) Daniel Marjamäki 2008-08-15 17:16:17 +0000
  • 6b12d31f5f CheckMemoryLeak: better handling of switch blocks Daniel Marjamäki 2008-08-14 06:41:26 +0000
  • 46be988e9a CheckMemoryLeak: Handle one more test case (return pointer) Daniel Marjamäki 2008-08-13 19:08:24 +0000
  • 0394aedd52 CheckMemoryLeak: Calling unknown function => assume that it's deallocating variable Daniel Marjamäki 2008-08-13 16:41:27 +0000
  • ff6adcbeff memory leak: improved the checking. subfunctions are parsed. redundant conditions are skipped Daniel Marjamäki 2008-08-12 18:24:42 +0000
  • 81bcde9ed0 cleanup: removed spaces Daniel Marjamäki 2008-08-12 06:40:55 +0000
  • a282495c2a buffer overruns: added tests and improved the checking Daniel Marjamäki 2008-08-12 06:39:41 +0000
  • 0f83b0b9ea tests: cleanup and reordering Daniel Marjamäki 2008-08-11 18:08:00 +0000
  • 953693ac2e tests: Refactoring Daniel Marjamäki 2008-08-11 17:23:34 +0000
  • 4aa51fa973 todo: added todo to simplify the token list further Daniel Marjamäki 2008-08-09 08:35:28 +0000
  • d7bfe46fb3 tests: minor updates of the tests Daniel Marjamäki 2008-08-09 08:34:50 +0000
  • ff0f8a7434 CheckMemoryLeak: Improved the checking (handling loops) Daniel Marjamäki 2008-08-09 08:34:05 +0000
  • 9607f3f4ce CheckMemoryLeak: updated the checking so that all execution paths are tried Daniel Marjamäki 2008-08-07 19:50:01 +0000
  • 6fb6ede8d6 cg2007: Added CodeGear 2007 project files Daniel Marjamäki 2008-08-07 19:15:06 +0000
  • 77c92a0fc8 Refactoring: Renamed class allocfunc to AllocFunc Daniel Marjamäki 2008-08-07 18:53:35 +0000
  • bbd8c03369 CommonCheck: Refactoring. Renamed clGlobalFunction to GlobalFunction Daniel Marjamäki 2008-08-07 18:44:05 +0000
  • 3708fde176 tests: updated the tests Daniel Marjamäki 2008-05-14 04:31:56 +0000
  • c2b76372b9 CheckOther: Removed unused functions Daniel Marjamäki 2008-05-14 04:30:56 +0000
  • 3bf21680b2 testing: Added test for mismatching allocation and deallocation Daniel Marjamäki 2008-05-10 14:01:12 +0000
  • ece441d952 CheckBufferOverrun: Refactoring and made the checking smarter Daniel Marjamäki 2008-05-10 13:48:15 +0000
  • aef0278e43 CheckBufferOverrun: Fixed minor bug that resultet in false positives Daniel Marjamäki 2008-05-10 12:12:50 +0000
  • 9ce09909e6 CheckMemoryLeak: Made the checking weaker to reduce false positives Daniel Marjamäki 2008-05-10 08:33:22 +0000
  • 7ae162792e CheckMemoryLeak: Handling functions that allocate memory Daniel Marjamäki 2008-05-10 07:33:50 +0000
  • 58b1b5f101 CheckStructMemberUsage: Added more cases Daniel Marjamäki 2008-05-10 06:48:37 +0000
  • 219d82e180 CheckStructMemberUsage: Check for unused struct members Daniel Marjamäki 2008-05-09 18:29:42 +0000
  • 7464adfb47 CheckGlobalFunctionUsage: Optimised Daniel Marjamäki 2008-05-05 16:58:09 +0000
  • 4094f6bc6e CheckMemoryLeak: Removed false positives Daniel Marjamäki 2008-05-04 10:15:39 +0000
  • a4486fb883 CheckConstantFunctionParameters: Updated the check to handle all std::.. struct and class Daniel Marjamäki 2008-05-03 09:44:20 +0000
  • cae2e190da Added check: passing constant function parameter by value instead of by reference/pointer Daniel Marjamäki 2008-05-03 07:20:25 +0000
  • 15fe28272c CheckMemoryLeak.cpp: Minor improvements to avoid false positives Daniel Marjamäki 2008-05-03 07:16:22 +0000
  • 77389640cf Checking memset/memcpy/memmove. Removed false positives Daniel Marjamäki 2008-04-18 17:18:22 +0000
  • 70a9fa246c CheckMemoryLeak: A few tweaks to make it report less false positives against the linux kernel Daniel Marjamäki 2008-04-16 15:22:50 +0000
  • 7708c2c1d1 CheckMemoryLeak: Small fixes and updates Daniel Marjamäki 2008-04-14 18:42:30 +0000
  • a8ba28440c CheckMemoryLeak: Bug fix so that checking stops when the variable goes out of scope Daniel Marjamäki 2008-04-14 06:25:34 +0000
  • e09d61180d Removed 'bugs_that_cppcheck_finds'. It will be listed in the wiki instead Daniel Marjamäki 2008-04-14 06:24:45 +0000
  • 53f078fc1d Minor updates. Added todo. Refactoring Daniel Marjamäki 2008-04-12 12:07:35 +0000
  • 4805f48a4f CheckMemoryLeak: Improved the checking (tests.cpp:memleak_in_function:test16) Daniel Marjamäki 2008-04-12 11:44:32 +0000
  • 90c2822031 CheckMemoryLeak: fixed bug that caused false positives Daniel Marjamäki 2008-04-12 11:33:48 +0000
  • bb5276024b Added testcase to look at later Daniel Marjamäki 2008-04-12 10:54:46 +0000
  • 59c1c16e03 Checking for memory leaks. Changed the handling of comments about deleting Daniel Marjamäki 2008-04-12 06:33:45 +0000
  • 1d258a55a4 Make it possible to disable memory leak checking for a variable. Usable to avoid false positives Daniel Marjamäki 2008-04-11 18:37:15 +0000
  • 214266c08c Added comments Daniel Marjamäki 2008-04-11 06:58:45 +0000
  • bee1c1fb8d Refactoring CheckMemoryLeak to detect more leaks Daniel Marjamäki 2008-04-08 07:03:32 +0000
  • 137a4c6309 CheckBufferOverrun: Removed a false positive Daniel Marjamäki 2008-04-06 11:53:23 +0000
  • daf1af0570 Minor updates in text files. Daniel Marjamäki 2008-04-06 11:39:49 +0000
  • e47cf2c97c TestTok: Deleted deprecated file Daniel Marjamäki 2008-04-06 10:37:36 +0000
  • 6490f79f78 CheckMemoryLeak: Added more allocation and deallocation functions Daniel Marjamäki 2008-04-06 10:36:41 +0000
  • 72a1f746b8 Makefile: Removed Statements Daniel Marjamäki 2008-04-06 09:47:25 +0000
  • 7b084fb1c4 Statements: Removed this bastard from cppcheck Daniel Marjamäki 2008-04-06 09:42:30 +0000
  • 62e06185f8 Minor updates to [232] and [233]. Use __GNUC__ define instead of CYGWIN Daniel Marjamäki 2008-04-06 06:45:30 +0000
  • 794710a0bd Addon to [232] Daniel Marjamäki 2008-04-06 06:35:53 +0000
  • a938b4ed39 Fixing bug 1935006 - Compile problems on cygwin Daniel Marjamäki 2008-04-06 06:26:11 +0000
  • fd9ca7c300 Re-adding CheckMemoryLeak functionality. More work is still needed. Daniel Marjamäki 2008-04-05 12:27:02 +0000
  • 0bd9f3a8fa Further improvements of CheckMemoryLeak. Still not working as good as a few revisions ago. Daniel Marjamäki 2008-04-04 04:29:28 +0000
  • 0ad426ec88 Removed old file 'bufferoverrun.txt' Daniel Marjamäki 2008-04-04 04:28:29 +0000
  • f055ecf708 Refactoring CheckMemoryLeak Daniel Marjamäki 2008-04-03 06:15:26 +0000
  • c56cfb5305 Match: Added matching for [] Daniel Marjamäki 2008-04-02 09:37:05 +0000
  • b6868b7f1a Rewriting CheckMemoryLeak (Just Started) Daniel Marjamäki 2008-04-02 05:09:35 +0000
  • 60e454fa11 Minor updates. Removed some false positives when checking variable scope Daniel Marjamäki 2008-04-01 06:21:12 +0000
  • 89605c0167 Fixed minor bugs Daniel Marjamäki 2008-03-29 17:27:02 +0000
  • 69d33444d4 Added style checks to check for unused global functions Daniel Marjamäki 2008-03-29 09:44:23 +0000
  • f8569f0db4 Refactoring: Removed 'HasErrors'. Better usage of 'Match'. Hid the 'FunctionList' Daniel Marjamäki 2008-03-28 17:40:24 +0000
  • 4691999ede Refactoring: Replaced deprecated "match" with the new "Match" Daniel Marjamäki 2008-03-28 07:18:03 +0000