Commit Graph

  • 62a49282eb Incomplete statements: removed false positive when setting array of structures or multi-dimensional arrays. Leandro Penz 2009-02-12 12:59:43 +0000
  • de2ee0a29d Test case TestTokenizer::simplify_constants added (commented out) Reijo Tomperi 2009-02-11 22:15:22 +0000
  • f4a3119c18 stl dangerous usage of erase: Added test cases about using return and goto Daniel Marjamäki 2009-02-11 16:20:32 +0000
  • ba3752feb6 buffer overrun: improved checking of global variables Daniel Marjamäki 2009-02-11 16:12:29 +0000
  • 4c93b4928b Incomplete statement: fixed and enabled intarray test case. Leandro Penz 2009-02-11 15:17:13 +0000
  • d1af0b6478 Incomplete statement: test case for statement that begins with numeric constant. Leandro Penz 2009-02-11 15:16:32 +0000
  • 7858ac9ab8 checkbufferoverrun: cleaned up the header includes Daniel Marjamäki 2009-02-11 05:16:10 +0000
  • 946770b119 updated the Makefile Daniel Marjamäki 2009-02-11 05:09:06 +0000
  • eda1290e40 dangerous usage of erase: added check Daniel Marjamäki 2009-02-11 05:08:29 +0000
  • 2427ca2217 Update Visual Studio project files. Kimmo Varis 2009-02-10 22:16:00 +0000
  • 9b9223480d Refactoring: reportErr takes now only one parameter, ErrorLogger::ErrorMessage, which contains all required information and also some help functions for formatting it for output. Reijo Tomperi 2009-02-10 21:51:52 +0000
  • 71b4e5a912 stl: added testcase for bad iterator usage Daniel Marjamäki 2009-02-10 20:01:39 +0000
  • 4660b7648d Moved stloutofbounds check to CheckStl class. Reijo Tomperi 2009-02-10 19:56:00 +0000
  • e40c36a6bd codeblocks: updated the project file Daniel Marjamäki 2009-02-10 19:47:45 +0000
  • 5dd1e84cf3 astyle coding style update Daniel Marjamäki 2009-02-10 19:41:22 +0000
  • c1638996f9 STL: added check for iterator usage Daniel Marjamäki 2009-02-10 19:40:21 +0000
  • 5721e4469b stlOutOfBounds error message created Reijo Tomperi 2009-02-10 19:36:49 +0000
  • 9dff3f4c52 Fix ticket #94 (STL container overrun). Check is currently behind --all Reijo Tomperi 2009-02-09 22:25:44 +0000
  • 1373e14bc9 Fix ticket #93 (Write xml results into error stream instead of results.xml file.) and also refactor the code to use ErrorLogger::reportErr() for all errors, for both xml and plain text. And move xml formatting from Cppcheck to CppcheckExecutor. Reijo Tomperi 2009-02-09 20:51:04 +0000
  • a5f88862b4 memory leak: keep track of --all better Daniel Marjamäki 2009-02-09 20:16:00 +0000
  • 0cdb537a6a incomplete statement: added a testcase for a false positive Daniel Marjamäki 2009-02-09 20:15:14 +0000
  • 927e533b4c Update Visual Studio project file. Kimmo Varis 2009-02-09 15:58:18 +0000
  • 574db37a6f uninitialized variables: added testcases and made a fix Daniel Marjamäki 2009-02-09 07:47:41 +0000
  • b9b5e8d92a Update to codeblocks project file Reijo Tomperi 2009-02-08 21:21:13 +0000
  • fb3c81dcd9 Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more. Reijo Tomperi 2009-02-08 21:20:35 +0000
  • e572cb3c1d Memory leak: Test code was supposed to call unknown function Daniel Marjamäki 2009-02-08 18:50:34 +0000
  • 1637e867de mismatching allocation size: moved to error suite Daniel Marjamäki 2009-02-08 18:34:04 +0000
  • d8e8e2c7ee Memory leaks: Make sure leak is found even when using unknown functions Daniel Marjamäki 2009-02-08 18:31:09 +0000
  • 81ed48562c Memory leak: find memory leak in TestMemleak::unknownFunction2 Daniel Marjamäki 2009-02-08 18:27:09 +0000
  • 0361c9d338 Memory leak: Handling function that can't be traced into Daniel Marjamäki 2009-02-08 11:59:04 +0000
  • cb5974e94e Fixed issue about 4+5 being made a single token, problem appeared in recent commits. Reijo Tomperi 2009-02-08 10:56:20 +0000
  • c345fa6186 Fix ticket #89 (False positive, (style) Redundant code - begins with numeric constant (e-value)) Reijo Tomperi 2009-02-08 10:39:55 +0000
  • da3efe8fa2 Improve fix made for Ticket #85 to handle strings that are in 3 parts also. Reijo Tomperi 2009-02-08 10:25:33 +0000
  • 4305d749ff Fixed ticket #88 (False positive, (style) Redundant code - begins with numeric constant) Reijo Tomperi 2009-02-08 09:51:45 +0000
  • 200a159c67 Fix ticket #85 (False positive (style) Redundant code, begins with string) Reijo Tomperi 2009-02-08 08:52:03 +0000
  • 7ee193490f Memory leaks: Added todo testcase - handle function calls that can't be followed Daniel Marjamäki 2009-02-08 08:21:15 +0000
  • 811d76eb31 Fixed compiler warning ( #81 ) and optimized the speed a little. Removed _cstr from Token class, use _str.c_str() instead. Reijo Tomperi 2009-02-07 21:05:45 +0000
  • d48671bdfb Fixed more of ticket #81 (getting rid of compiler warnings) Reijo Tomperi 2009-02-07 20:55:25 +0000
  • b211b8cbe8 Fix ticket #84 (unit testing: use "protected" instead of preprocessor) Reijo Tomperi 2009-02-07 20:06:00 +0000
  • 798d86216a Fix ticket #83 (cppcheck hangs) and add a test case for it Reijo Tomperi 2009-02-07 19:15:10 +0000
  • e71c6aaa9f Borland C++: Fix to make it compile Daniel Marjamäki 2009-02-07 18:35:55 +0000
  • f14c2d6155 Fixed partially ticket #81 (getting rid of compiler warnings) Reijo Tomperi 2009-02-07 15:37:01 +0000
  • 3c289e52c5 memory allocation: check for mismatching size Daniel Marjamäki 2009-02-07 10:54:39 +0000
  • bb71f9e83e TestMemleak: fixed problems with wrong linenumbers. This fixes ticket 79 Daniel Marjamäki 2009-02-07 09:44:57 +0000
  • e985b7970d Borland C++: Added CheckDangerousFunctions.* to the project Daniel Marjamäki 2009-02-07 07:39:15 +0000
  • eb5d11c1c3 FileLister: Added code that I received from Jeffrey Walton to handle directories and files better Daniel Marjamäki 2009-02-07 07:38:22 +0000
  • 67ad1d8c64 TestMemleak: Fixed tests Daniel Marjamäki 2009-02-06 18:49:30 +0000
  • 03acc12977 mismathing allocation and deallocation: moved to error checks Daniel Marjamäki 2009-02-06 18:24:01 +0000
  • 3c7e40fe13 errmsg: use the error message dealloc-use Daniel Marjamäki 2009-02-06 06:22:44 +0000
  • 7299d3e5b1 memleak: removed false positives for mismatching allocation and deallocation Daniel Marjamäki 2009-02-06 06:11:47 +0000
  • a06861948b Fixed: Ticket #78 Change (always) into (error) in error messages Reijo Tomperi 2009-02-05 21:06:32 +0000
  • 09c13d844e Added test case linenumbers2 Reijo Tomperi 2009-02-05 20:29:55 +0000
  • 10abbda6a7 memleak: corrected the wrong line number (#77) Daniel Marjamäki 2009-02-05 20:17:01 +0000
  • 7589dc3d16 testcppcheck.cpp file added, test case "linenumbers" added, codeblocks project file updated Reijo Tomperi 2009-02-05 20:06:39 +0000
  • 05e330ed38 incomplete statement: minor update Daniel Marjamäki 2009-02-05 18:57:53 +0000
  • 9707217c15 activated TestClass:function Daniel Marjamäki 2009-02-04 19:42:40 +0000
  • 7ccb6217bf remove casts: Added test case to ensure that function declarations are not reduced Daniel Marjamäki 2009-02-04 19:40:48 +0000
  • 8187504cbb testclass: added todo testcase for #74 Daniel Marjamäki 2009-02-04 19:31:25 +0000
  • aeb573d529 returning pointer to local array Daniel Marjamäki 2009-02-04 18:49:19 +0000
  • bd73d0913f charvar: fixed todo testcase Daniel Marjamäki 2009-02-04 17:12:53 +0000
  • d73e6c398f testbufferoverrun: activated test Daniel Marjamäki 2009-02-04 16:58:44 +0000
  • c46c4c50e9 memory leak: fixed ticket #9 Daniel Marjamäki 2009-02-04 06:11:36 +0000
  • 142a21973a Fixed varid is 0 bug which happened with sizeof(var[0]) and added testcase for it Reijo Tomperi 2009-02-03 21:42:50 +0000
  • e052173308 Updated testrunner.vcproj files Reijo Tomperi 2009-02-02 21:56:48 +0000
  • 8fb8711956 visual c++: added checkdangerousfunctions Daniel Marjamäki 2009-02-02 20:51:49 +0000
  • d5e0a9d4cb added createrelease script Daniel Marjamäki 2009-02-02 19:21:58 +0000
  • 59f95d311b tokenizer: setvarid handle variable declaration at start of token list Daniel Marjamäki 2009-02-02 19:19:36 +0000
  • 0059ceefb9 Tokenizer: sizeof handling of 'sizeof(var[0])' Daniel Marjamäki 2009-02-02 18:59:32 +0000
  • d0af67a1b1 Tokenizer: setVarId improved to handle declaration at the first token Daniel Marjamäki 2009-02-02 17:35:46 +0000
  • 27c0f786bc tokenizer: improved sizeof handling Daniel Marjamäki 2009-02-02 17:27:34 +0000
  • 0e291c772c TestTokenize: Added testcase sizeof2 (TODO) Daniel Marjamäki 2009-02-02 06:26:20 +0000
  • dc994c346e testtokenize: sizeof handling Daniel Marjamäki 2009-02-02 06:21:48 +0000
  • bbf4641304 testmemleak: fixed a test case Daniel Marjamäki 2009-02-02 06:21:00 +0000
  • 460c29f6a2 memory leaks: Minor fix to output correct severity Daniel Marjamäki 2009-02-02 06:04:48 +0000
  • f66750c9f1 TestMemleak: Added test cases Daniel Marjamäki 2009-02-02 05:58:50 +0000
  • 385c28a02e xml: generating better xml output Daniel Marjamäki 2009-02-01 18:00:47 +0000
  • eb9563faed astyle formatting Daniel Marjamäki 2009-02-01 16:39:29 +0000
  • d29d7e60a9 errmsg: refactoring the error messages Daniel Marjamäki 2009-02-01 15:47:36 +0000
  • 566e1102bc changed version to 1.28 Daniel Marjamäki 2009-02-01 08:17:45 +0000
  • 6b16b7482a Removed some dead code and improved one function to use reference instead of a copy. Reijo Tomperi 2009-01-31 21:12:24 +0000
  • 0747cfceb4 Fixed man page, previous version had <dir> while &lt; and &gt; should be used. Reijo Tomperi 2009-01-31 20:59:37 +0000
  • b471ac2e3c Fixing files using dos-style line change to use unix-style line change. Reijo Tomperi 2009-01-31 19:29:27 +0000
  • 1a162b79e7 Updated codeblocks projectfile Reijo Tomperi 2009-01-31 19:11:17 +0000
  • 2784faab42 removed unused function definition for stringifySeverity Daniel Marjamäki 2009-01-31 19:05:17 +0000
  • 577e2ad895 Add new files (Src/checkdangerousfunctions.cpp and .h) to Visual Studio project. Kimmo Varis 2009-01-31 18:55:48 +0000
  • 7da34ed249 Running astyle for the previous commits Reijo Tomperi 2009-01-31 18:54:34 +0000
  • 7adcd0c355 dangerousfunctions: added check for mktemp (ticket #69), and refatored gets and scanf check from bufferoverrun into dangerousfunctions. Leandro Penz 2009-01-31 18:24:48 +0000
  • 81174a4817 mismatching allocation / deallocation: moved to --all Daniel Marjamäki 2009-01-31 17:54:31 +0000
  • f6f72fc022 errmsg: output severity in messages. a fix to track severity in the memory leaks check Daniel Marjamäki 2009-01-31 13:57:27 +0000
  • 25607d9f71 mismatching allocation and deallocation: added test case that currently generates false positives Daniel Marjamäki 2009-01-31 11:51:47 +0000
  • 3457b38d7a errmsg: write severity in the message Daniel Marjamäki 2009-01-31 08:33:31 +0000
  • 7d98c74d40 added test case TestBufferOverrun::sizeof2 Daniel Marjamäki 2009-01-30 06:11:31 +0000
  • 988d4c0d66 added todo testcase Daniel Marjamäki 2009-01-30 06:06:03 +0000
  • 7a3c7cd242 Updated man page for --unused-functions and --xml-results Reijo Tomperi 2009-01-28 21:01:29 +0000
  • e9d19840d2 preprocessor: Added testcase fmt2 that is commented out because it doesn't work yet Daniel Marjamäki 2009-01-28 20:19:46 +0000
  • 3776db575c Visual Studio: Remove incremental linking from release target due to other option disabling it and causing warning: Linking... LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification Kimmo Varis 2009-01-28 20:09:26 +0000
  • b7b055e885 tokenizer: fixed TestTokenizer::sizeof1 Daniel Marjamäki 2009-01-28 17:38:32 +0000
  • dd9cd9ce82 unused functions: Created command line parameter --unused-functions Daniel Marjamäki 2009-01-28 17:26:19 +0000
  • 0ca38cc9fe xml results: added a command line switch for generating simple results.xml file Daniel Marjamäki 2009-01-28 17:12:43 +0000
  • 12b6cf8c70 bad sizeof handling Daniel Marjamäki 2009-01-28 05:31:26 +0000