Commit Graph

  • bf6926232b CheckBufferOverrun: Improved checking of arrays declared like this: "type * var [ num ]" Daniel Marjamäki 2008-03-27 05:41:21 +0000
  • 021b86afa2 test cppcheck: All tests work Daniel Marjamäki 2008-03-26 07:18:40 +0000
  • b011228fce Fixed bugs in 'CheckBufferOverrun.cpp' Daniel Marjamäki 2008-03-25 17:10:52 +0000
  • 5296377c52 To compile with borland, 'algorithm' was needed Daniel Marjamäki 2008-03-25 05:52:28 +0000
  • fcff7a4052 Refactoring of 'CheckBufferOverrun.cpp' Daniel Marjamäki 2008-03-24 19:32:17 +0000
  • 41252ac45a Refactoring 'CheckBufferOverrun'. Added 'Match1'. Daniel Marjamäki 2008-03-24 16:24:07 +0000
  • 1e379b8ffa Refactoring the 'CheckBufferOverrun' Daniel Marjamäki 2008-03-24 11:51:16 +0000
  • 954cccf843 Removed checking of 'dynamic data' it's impossible to determine if it's false or true positives without deeper analysis. Daniel Marjamäki 2008-03-24 11:00:04 +0000
  • c327dc10d8 Made the checking for buffer overruns more generic Daniel Marjamäki 2008-03-24 10:03:45 +0000
  • b7477cb27f Combined 'findfunction' and 'FindFunction'. Updated "CheckBufferOverrun" (checking for-loops). Daniel Marjamäki 2008-03-24 07:24:49 +0000
  • 4c17dd9499 Buffer overrun in function parameter Daniel Marjamäki 2008-03-23 16:18:31 +0000
  • 44bee90d82 Refactoring (Replace '->' with '.', use matching function when possible) Daniel Marjamäki 2008-03-23 14:15:44 +0000
  • 75debeba37 Reverted 205:207 Daniel Marjamäki 2008-03-23 13:38:01 +0000
  • 34a2fdfb37 Refactoring Daniel Marjamäki 2008-03-23 13:27:34 +0000
  • 3dfc79d3b6 Refactoring: Use 'setindentlevel' Daniel Marjamäki 2008-03-23 07:57:27 +0000
  • 0d0f562e90 Refactoring: Added helper function 'setindentlevel' Daniel Marjamäki 2008-03-22 20:14:25 +0000
  • ede402a5ec Minor refactoring Daniel Marjamäki 2008-03-22 17:09:08 +0000
  • ab7cb379af In the checks, use const pointers Daniel Marjamäki 2008-03-22 11:46:06 +0000
  • 13f681879f Handling pointers in 'CheckBufferOverrun_StructVariable' Daniel Marjamäki 2008-03-21 18:55:29 +0000
  • 0a86992806 Check for buffer overruns for struct members (only numeric) Daniel Marjamäki 2008-03-21 17:25:25 +0000
  • c8038d52fd Deleted obsolete file 'checknpp.bat' Daniel Marjamäki 2008-03-21 16:06:53 +0000
  • c5e7cb4032 'CheckUnsignedDivision' -> more errors. 'CheckVariableScope' -> removed false errors. Daniel Marjamäki 2008-03-21 06:44:52 +0000
  • 313d3dafa1 Rewrote the checking for "unsigned division" => less false positives Daniel Marjamäki 2008-03-20 07:23:01 +0000
  • 506fc0e16d tokenize: Fixed two bugs * don't hang if we can't find the ending of a string. * don't divide by zero Daniel Marjamäki 2008-03-19 17:09:51 +0000
  • b1b7593c76 Updates here and there to make it more accurate Daniel Marjamäki 2008-03-19 06:03:56 +0000
  • 85a50103a5 Better checking of class declarations. Daniel Marjamäki 2008-03-18 07:46:42 +0000
  • d0cffeaa8c Updated tokenizer. To handle "#define f1(a,b) (a+b)" better Daniel Marjamäki 2008-03-18 07:45:35 +0000
  • 101afe4344 Checking variable scope Daniel Marjamäki 2008-03-17 11:05:30 +0000
  • bcd292ffaa Updated 'todo.txt' Daniel Marjamäki 2008-03-17 05:53:29 +0000
  • 119e719d52 bug fixes for 'CheckVariableScope' Daniel Marjamäki 2008-03-16 17:39:38 +0000
  • a9524b9207 Added test 'CheckVariableScope'. Increased constness. Daniel Marjamäki 2008-03-16 13:17:43 +0000
  • c366278b48 added 'todo.txt' Daniel Marjamäki 2008-03-16 07:07:51 +0000
  • d9fc9762b8 Removed 'checkproj.bat' (Deprecated) Daniel Marjamäki 2008-03-15 17:06:27 +0000
  • d6db5ae1bc updated command syntax example Daniel Marjamäki 2008-02-22 14:58:53 +0000
  • 1594432285 allow duplicate error messages in tests Daniel Marjamäki 2008-02-22 14:35:44 +0000
  • a6696d6f7d Removed false positives and also duplicate error messages. Daniel Marjamäki 2008-02-22 14:30:43 +0000
  • 942c48474c comments Daniel Marjamäki 2008-02-22 07:26:23 +0000
  • 6e2e624bce Removed false positives Daniel Marjamäki 2008-02-22 07:26:10 +0000
  • 6100b19640 sort the files before checking to make the results comparable Daniel Marjamäki 2008-02-22 07:25:31 +0000
  • e9682bbb0e Fixed bug (Dereferencing NULL) Daniel Marjamäki 2008-02-21 20:17:18 +0000
  • 7bbdb7a3ba removed false positives for CheckUnsignedDivision Daniel Marjamäki 2008-02-21 19:05:11 +0000
  • 97003e8064 recursive checking when compiling with gcc Daniel Marjamäki 2008-02-21 19:01:24 +0000
  • b6ea2e43ff recursive checking when compiled by borland c++ Daniel Marjamäki 2008-02-21 17:56:51 +0000
  • 08b3b2ab63 CheckUnsignedDivision: Added check. Not very accurate yet. Daniel Marjamäki 2008-02-20 18:20:59 +0000
  • a40c1e9eb7 CheckClass: Improved constructor checking Daniel Marjamäki 2008-02-19 07:09:09 +0000
  • 7ee67f2e64 Refactoring: Removed unneeded parameter PointerType Daniel Marjamäki 2008-02-18 17:12:13 +0000
  • 72d9e43f92 Made it compilable by borland c++ Daniel Marjamäki 2008-02-18 17:11:34 +0000
  • edc4177df3 ClassChecking: Only enable the 'no constructor' warning if '--style' is given Daniel Marjamäki 2008-02-18 17:04:14 +0000
  • 46d8fe0fad Class Checking: No constructor Daniel Marjamäki 2008-02-18 16:28:37 +0000
  • f06c65c071 checking multiple files Daniel Marjamäki 2008-02-17 18:28:51 +0000
  • a51e012a5a Added list of bugs that cppcheck find (incomplete) Daniel Marjamäki 2008-02-17 17:22:21 +0000
  • 0b5e6a55d4 Unit Testing: Checking for mismatching allocation / deallocation Daniel Marjamäki 2008-02-17 16:19:01 +0000
  • ac6ce3a0d1 Unit Testing: Testing the statement list Daniel Marjamäki 2008-02-17 15:47:37 +0000
  • 5450b64a8a Unit Testing: Moved the 'internaltesting' Daniel Marjamäki 2008-02-17 15:23:14 +0000
  • 92b5af4abc Cleanup old testing Daniel Marjamäki 2008-02-17 11:58:37 +0000
  • 89061edbba Cleanup old tests Daniel Marjamäki 2008-02-17 11:57:10 +0000
  • 6080808878 Cleanup of old testcases Daniel Marjamäki 2008-02-17 11:53:39 +0000
  • c66846353c Unit Testing: Moving memleak checks Daniel Marjamäki 2008-02-17 11:45:06 +0000
  • 2dace08aae Unit Testing: Moved 'testmemcheck' Daniel Marjamäki 2008-02-16 18:24:13 +0000
  • 84286241ef Unit Testing: Moved 'testUninitVar1' Daniel Marjamäki 2008-02-16 17:55:29 +0000
  • 1d36ff1d3f Unit Testing: Moved constructor and operator= checks Daniel Marjamäki 2008-02-16 17:50:18 +0000
  • 914244c82c Borland C++: Removed project files as gcc will from now on by the primary development environment Daniel Marjamäki 2008-02-16 17:01:20 +0000
  • 025e321892 Testing: Removed old file 'testall'. Testing will be handled by 'tests.cpp'. Daniel Marjamäki 2008-02-16 16:58:49 +0000
  • 851e81cd12 Unit Testing: All tests for buffer overruns were moved Daniel Marjamäki 2008-02-16 16:45:56 +0000
  • 4cb3c7b96b Unit Testing: Start Daniel Marjamäki 2008-02-16 15:46:32 +0000
  • a8e6a4c343 Better checking of uninitialized variables Daniel Marjamäki 2008-01-17 07:46:10 +0000
  • f3a96109eb check npp472 instead of npp41 Daniel Marjamäki 2008-01-11 07:30:56 +0000
  • a770561de4 check for uninitialized variables - less generic to increase accuracy Daniel Marjamäki 2008-01-10 19:01:16 +0000
  • 2d8a6d3f47 Added 'testall' which is a simple bash-script that runs all tests Daniel Marjamäki 2008-01-05 16:53:51 +0000
  • 658f33328b remove false positives (uninitialized class members) Daniel Marjamäki 2007-10-29 08:20:07 +0000
  • c5580b8464 CheckClass: Treating all "std::*" as initialized. Daniel Marjamäki 2007-10-23 06:37:13 +0000
  • 5070bfd87d tokenizer: removed some preprocessing => less false positives Daniel Marjamäki 2007-10-23 06:36:29 +0000
  • e7e9402ab0 disabled checks that generates false positives Daniel Marjamäki 2007-10-22 06:59:28 +0000
  • 8d116542ab Removing false positives Daniel Marjamäki 2007-08-31 04:23:09 +0000
  • 2b3f362dfd Added 2 checks for memory leaks Daniel Marjamäki 2007-07-27 08:11:07 +0000
  • 639d5fe344 Don't allow search pattern in the filename yet. There's no way to solve it through ANSI C. Daniel Marjamäki 2007-07-26 06:17:25 +0000
  • d3f30c0a6e Minor update: Updated the readme and checkproj files. Daniel Marjamäki 2007-07-26 06:16:29 +0000
  • e816bff240 TestCond1: Updated test. It didn't have a "err.msg" file Daniel Marjamäki 2007-07-26 06:16:01 +0000
  • e82ac787c6 Added test: "testcasebreak" Daniel Marjamäki 2007-07-26 06:15:10 +0000
  • ae8a914832 Searching multiple files Daniel Marjamäki 2007-07-24 06:24:12 +0000
  • 8c0c57ddf4 Added checks: * CheckIfAssignment: assignment in condition * CheckCaseWithoutBreak: case but no break/return Daniel Marjamäki 2007-07-24 06:23:28 +0000
  • eb0361d6b5 Command line options: Added "--all" and "--style", removed "-w" Daniel Marjamäki 2007-07-20 15:43:39 +0000
  • 6ee93c2d62 bufferoverrun.txt: Added file that contains thoughts and ideas concerning buffer overruns. Daniel Marjamäki 2007-07-20 06:21:40 +0000
  • 5b6ab28e0b For the highest accuracy, don't warn for all memory leaks unless the "-w" is given Daniel Marjamäki 2007-07-20 06:20:31 +0000
  • 8af24ee783 Always give a warning when 'memset' is used upon a class Daniel Marjamäki 2007-07-20 06:18:33 +0000
  • 3ee0d3c9d3 Improved the buffer overrun checks. Results that are not 100% certain must be enabled through the "-w". Daniel Marjamäki 2007-07-19 06:21:01 +0000
  • ade2265ed2 Minor modifications to make it compile on linux Daniel Marjamäki 2007-07-18 06:37:37 +0000
  • 93b3e2e5aa Buffer overruns, using string with unknown length Daniel Marjamäki 2007-07-18 06:12:16 +0000
  • 7ea6e10f1f Minor updates to make it easier to port to Linux Daniel Marjamäki 2007-07-17 06:39:34 +0000
  • ba13ad5e3c Minor updates to make it portable to Linux. Daniel Marjamäki 2007-07-17 06:15:50 +0000
  • b0d9994210 CheckHeaders: Checking if included headers are needed Daniel Marjamäki 2007-06-11 13:56:51 +0000
  • 9af3e36c4d CheckOther: minor bug fix Daniel Marjamäki 2007-06-10 18:26:06 +0000
  • 6ed70ae745 CheckMemoryLeak: Detect memory leaks for class members Daniel Marjamäki 2007-06-10 18:25:39 +0000
  • 8a1ec67b22 CheckOther: Improved the check that checks 'if (condition) var=true;' Daniel Marjamäki 2007-06-09 18:36:52 +0000
  • f0f117d4f6 CheckHeaders: Improved the check that checks included headers. Daniel Marjamäki 2007-06-09 18:25:08 +0000
  • 0bea996e4d CheckHeaders: Updated message Daniel Marjamäki 2007-06-08 18:56:11 +0000
  • 5b9513b17d Tokenize: generate tokens on '#define' (CheckIncludedHeaders) Daniel Marjamäki 2007-06-08 18:55:44 +0000
  • f36ab6dc61 Updated the tests Daniel Marjamäki 2007-06-08 18:32:23 +0000
  • 9da999b53f Checking Notepad++: Enabled all warnings Daniel Marjamäki 2007-06-08 18:20:13 +0000
  • 5b83f5d0cd CheckOther: Added check. 'if (condition) var=true; else var=false;' => 'var = (condition);' Daniel Marjamäki 2007-06-08 18:19:15 +0000