Commit Graph

  • bb1691c65f codeblocks : added testmemleakmp Daniel Marjamäki 2008-12-20 19:07:20 +0000
  • bf37a1153c memory leak : Added experimental functionality for multipass checking of memory leaks. Only added in the unit tests yet. Daniel Marjamäki 2008-12-20 17:52:15 +0000
  • 0a73591c5c Refactoring : Removed the function 'findtoken' Daniel Marjamäki 2008-12-20 16:33:14 +0000
  • e0e84d53ac Refactoring : Replaced findtoken with findmatch Daniel Marjamäki 2008-12-20 16:30:24 +0000
  • 46631089aa refactoring : Replaced 'findtoken' with 'findmatch' Daniel Marjamäki 2008-12-20 16:16:51 +0000
  • 37e8019230 buffer overrun : Refactoring Daniel Marjamäki 2008-12-20 16:09:01 +0000
  • 7301709699 buffer overruns : renamed functions + minor simplification Daniel Marjamäki 2008-12-20 08:53:42 +0000
  • 6b06df766b Class checking : Renamed the check functions Daniel Marjamäki 2008-12-20 08:48:52 +0000
  • fe94c577bc Man page updated Reijo Tomperi 2008-12-19 22:27:51 +0000
  • cebd1af11a Project file updated Reijo Tomperi 2008-12-19 22:02:52 +0000
  • 57d45a89ce Updated app name and copyright to this new file also Reijo Tomperi 2008-12-19 21:18:29 +0000
  • ee5513e3ca Updated author names to man page Reijo Tomperi 2008-12-19 21:16:28 +0000
  • 11f05fe7e9 Redundant condition: Added a test case when a condition is not redundant Daniel Marjamäki 2008-12-19 21:15:18 +0000
  • e272630604 Copyright and app name changed in each file Reijo Tomperi 2008-12-19 21:15:06 +0000
  • 36b820491f Fixed bug, checking single file was not possible. Few new tests added also Reijo Tomperi 2008-12-19 20:30:33 +0000
  • a86b07ed17 Don't use keyword "this" in constructor Reijo Tomperi 2008-12-19 19:31:12 +0000
  • 347068b672 Update man page and readme to reflect the new syntax Reijo Tomperi 2008-12-19 19:19:26 +0000
  • cd405f4089 Interface: Tags -a, -q, -s and -v added. Reijo Tomperi 2008-12-19 18:47:31 +0000
  • ddcab63b9e Interface: New version of interface and help texts, --errorsonly changed to --quiet Reijo Tomperi 2008-12-19 18:38:22 +0000
  • c0ef901a56 Interface: Removed --recursive option, made it default. Changed help texts. Reijo Tomperi 2008-12-19 18:18:29 +0000
  • 0f5ad537d5 visual c++: updated the project file Daniel Marjamäki 2008-12-19 10:33:16 +0000
  • a5fa323a0b Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-18 21:28:57 +0000
  • c56779c9ae variable id : set variable ids for struct members Daniel Marjamäki 2008-12-18 18:56:25 +0000
  • 744c4928c4 token : if setstr is used clear the variable id Daniel Marjamäki 2008-12-18 07:21:06 +0000
  • 8d6f77deed Memory leaks : Remove "if break|continue ;" that may otherwise cause false positives Daniel Marjamäki 2008-12-18 07:20:31 +0000
  • 69137597f5 tokenizer : using the simplifyKnownVariables Daniel Marjamäki 2008-12-18 07:19:35 +0000
  • 612d0e56f2 virtual destructors : no errormessage if the derived class has no destructor or empty destructor Daniel Marjamäki 2008-12-17 20:38:09 +0000
  • ee5e20ed1f memory leak : fixed 2 bugs related to the testcases TestMemleak::if7 and TestMemleak::simple9 Daniel Marjamäki 2008-12-17 19:21:39 +0000
  • dd853f0d59 token : fixed so that TOKEN::_previous is updated when deleting tokens Daniel Marjamäki 2008-12-17 19:20:11 +0000
  • a19b938665 testsuite : make it possible to run a specific testcase Daniel Marjamäki 2008-12-17 19:18:39 +0000
  • fc325ac98a Memory leak : Added a test case for future checking of struct members Daniel Marjamäki 2008-12-16 19:16:52 +0000
  • b145bf3650 Memory leak : Fixed issue 2429936 - false positive reported on the break in the code "loop { dealloc ; alloc ; if break ; }" Daniel Marjamäki 2008-12-16 19:01:15 +0000
  • 87de37bcb4 Memory leaks : Added test case for bug 2429936 Daniel Marjamäki 2008-12-16 17:27:52 +0000
  • a8661baac5 Memory leak : Fixed bug described in issue 2432631. False positive on something like this.. "alloc ; if(!var) alloc;" Daniel Marjamäki 2008-12-16 17:06:59 +0000
  • e853f28912 token : minor refactoring to TOKEN::insertToken. Give the linenr and fileIndex the same values as this token. It's better than nothing Daniel Marjamäki 2008-12-16 17:05:43 +0000
  • 40f3ef61c9 Removes WarningIs(Alpha|Digit) checks as this can introduce more problems than fixes. Nicolas Le Cam 2008-12-15 23:03:04 +0000
  • d74dc759a2 tasks : Added task for optimising TOKEN::Match Daniel Marjamäki 2008-12-15 18:54:04 +0000
  • 0d36de4018 Redundant condition : fixed the checking Daniel Marjamäki 2008-12-15 18:49:34 +0000
  • 707a406dab Redundant condition : Added a check Daniel Marjamäki 2008-12-15 07:29:55 +0000
  • 883282ba16 Fix compilation Nicolas Le Cam 2008-12-14 23:06:37 +0000
  • 06b8cc48e8 Refactoring and fix to previous commits by me, forgot to actually rename the files before ... Reijo Tomperi 2008-12-14 22:36:34 +0000
  • 24c978d5d2 Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-14 22:03:49 +0000
  • 3851c0f019 Refactoring: Renamed all files to lower case. Also added testfilelister.cpp which was forgotted from previous commit. Reijo Tomperi 2008-12-14 20:49:55 +0000
  • a15381dcbe Fixed bug, paths like "/path/../index.h" created duplicate warnings with files like "/index.h". Relative paths are now simplified to look a like. Test cases added. Reijo Tomperi 2008-12-14 19:03:34 +0000
  • fec777057d Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-14 17:05:21 +0000
  • 8882ff9509 Add something I want to work on Nicolas Le Cam 2008-12-14 16:36:35 +0000
  • 81185af7f9 Add the last c++ cast operator Nicolas Le Cam 2008-12-14 16:35:51 +0000
  • 8b82ae1ac0 tasks : things that can be done Daniel Marjamäki 2008-12-14 15:30:38 +0000
  • 9c9740821f Old TODO comment removed Reijo Tomperi 2008-12-13 20:45:48 +0000
  • 1d401905b0 More tests added for simplifyKnownVariables() Reijo Tomperi 2008-12-13 20:43:54 +0000
  • 6269c3cbbd tokenizer : updated simplifyKnownVariables Daniel Marjamäki 2008-12-13 20:22:45 +0000
  • 538f259911 Started making simplifyKnownVariables(), but it is very much unfinished. Two test cases added for it. Reijo Tomperi 2008-12-13 19:44:56 +0000
  • ff3a1714f2 Memory leak : added standard functions that are safe and doesn't need to be checked Daniel Marjamäki 2008-12-13 19:07:29 +0000
  • 02d6e367e7 Refactoring, simplifyConditions(), simplifyCasts() and simplifyFunctionReturn() now return the opposite of their boolean return value. Reijo Tomperi 2008-12-13 18:54:48 +0000
  • 1e9863d671 Tokenizer : Simplify function calls for functions that only returns a constant value Daniel Marjamäki 2008-12-13 17:57:36 +0000
  • 3a1196e5f9 Tokenizer : Added function for simplifying casts Daniel Marjamäki 2008-12-13 16:42:39 +0000
  • 4b04d38867 Refactoring: changed "aaaa" to "str" Nicolas Le Cam 2008-12-13 11:52:56 +0000
  • 661068bcd4 Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-13 11:39:36 +0000
  • 13bcb66c14 Add three memoryleak tests involving pointer casting that currently 'fail' Nicolas Le Cam 2008-12-13 11:19:09 +0000
  • 46205bde8e Memory leak : Added a test case for false positive when using function call Daniel Marjamäki 2008-12-13 10:01:05 +0000
  • e99744ae9b Buffer overrun : Use variable id if available in check of memset etc Daniel Marjamäki 2008-12-13 08:49:13 +0000
  • 5ea8d411b5 Memory leak : Fixed a test where pointer is reassigned Daniel Marjamäki 2008-12-13 08:43:22 +0000
  • 8ad2c58c56 Slightly improved test case Reijo Tomperi 2008-12-12 23:01:39 +0000
  • dd7e012509 Added test case for false positive, fails currently Reijo Tomperi 2008-12-12 22:25:36 +0000
  • 0e51bc3669 Refactoring, some !Match() calls chanded into using !!else syntax Reijo Tomperi 2008-12-12 21:35:51 +0000
  • 4e8e35f666 TOKEN: Patterns like "if ; !!else" are now possible Reijo Tomperi 2008-12-12 21:00:25 +0000
  • 0cfec3c89c Tokenizer::SetVarId : Fixed segmentation fault Daniel Marjamäki 2008-12-12 20:25:08 +0000
  • 6383b9d2bd CheckBufferOverrun : Using variable id to check local array variables Daniel Marjamäki 2008-12-12 20:10:56 +0000
  • a44c21da08 testmemleak: Added 2 tests, fopen() and popen() should return resource leak, instead of memory leak Reijo Tomperi 2008-12-12 19:21:34 +0000
  • 90bc72a413 testbufferoverrun : Added a testcase where variable id is needed to avoid false positive Daniel Marjamäki 2008-12-12 19:16:30 +0000
  • edff8d326f Memoryleak: fopen and popen report now "Resource leak" instead of "Memory leak" Reijo Tomperi 2008-12-12 19:08:30 +0000
  • 4f8ab7fa03 Fix a crash in eraseToken Nicolas Le Cam 2008-12-12 00:18:57 +0000
  • 949e1ad6b8 Fix compilation under VS2003 Nicolas Le Cam 2008-12-11 23:04:21 +0000
  • f669a5a45d Minor bug fix, CppCheck::Check didn't reset error list after all checking was done. Reijo Tomperi 2008-12-11 20:28:35 +0000
  • 2b7338450c preprocessing : Skip special characters. Refactoring. Daniel Marjamäki 2008-12-11 18:09:20 +0000
  • bcf393292e todo : deleted this deprecated file Daniel Marjamäki 2008-12-11 18:08:14 +0000
  • aee10ecc38 readme : fixed the readme file Daniel Marjamäki 2008-12-11 18:07:23 +0000
  • b72565bdf6 memory leak : Minor fixes to make the unit tests work Daniel Marjamäki 2008-12-11 07:10:57 +0000
  • a66a91c22a code cleanups Daniel Marjamäki 2008-12-10 19:34:04 +0000
  • 8bd4c4278a Memory leaks : Minor updates and refactoring Daniel Marjamäki 2008-12-10 19:15:41 +0000
  • 41aa2f8810 Borland C++ : minor update to make the code compilable with borland c++ Daniel Marjamäki 2008-12-10 19:14:38 +0000
  • ddd20a2977 Virtual destructor : minor fix to avoid false positives when more modifiers are used Daniel Marjamäki 2008-12-10 19:13:40 +0000
  • 02f3196b24 FileLister: Borland can use windows api for file searching Daniel Marjamäki 2008-12-10 19:11:48 +0000
  • cf2262aaf0 Project file updated (testtoken.cpp was missing), added TOKEN::printOut() function to help with debugging. Reijo Tomperi 2008-12-09 22:03:05 +0000
  • 237dc98ea5 Added test file for TOKEN class Reijo Tomperi 2008-12-09 18:13:38 +0000
  • 2ef955eb65 Refactoring: Moved token creation and token deletion into TOKEN class. Added previous() (not tested yet) Reijo Tomperi 2008-12-09 17:31:04 +0000
  • a4a55553f8 cppcheck : Set variable ids Daniel Marjamäki 2008-12-09 07:27:39 +0000
  • 68bcdb103c testmemleak : added a unit test that ensures that the variable id handling works correctly. But it's currently not working, and therefore it's commented out Daniel Marjamäki 2008-12-09 07:27:11 +0000
  • f839b11c11 token : Updated the "Match" function so it can check the variable id Daniel Marjamäki 2008-12-09 07:25:44 +0000
  • 20e28bb687 Variable usage : 2 more fixes Daniel Marjamäki 2008-12-09 07:25:00 +0000
  • aaabacfe87 Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-09 00:49:32 +0000
  • eb80c9786f Revert revisions 627 and 628 Nicolas Le Cam 2008-12-08 23:41:34 +0000
  • e8d2c7cfb3 Formatting: uniformize end of lines (part 2) Nicolas Le Cam 2008-12-08 23:10:13 +0000
  • 625b77ec33 Formatting: uniformize end of lines. Nicolas Le Cam 2008-12-08 23:06:19 +0000
  • 19ef4f8b15 TOKEN::Match minor optimization Nicolas Le Cam 2008-12-08 22:49:11 +0000
  • 440203bd5c Refactoring: Rest of the public variables in TOKEN moved to private area. Reijo Tomperi 2008-12-08 22:02:37 +0000
  • 51024235a3 Refactoring: TOKEN::next renamed to _next, getter and setter functions for it added next() and next(TOKEN*). Reijo Tomperi 2008-12-08 21:49:05 +0000
  • 5bb81294c0 Variable usage : A few small fixes to reduce false positives Daniel Marjamäki 2008-12-08 18:44:17 +0000
  • 25847fdec4 Refactoring: TOKEN::varId was moved from public to private Reijo Tomperi 2008-12-08 17:45:55 +0000
  • 3619552e38 Variable Id : First simple implementation Daniel Marjamäki 2008-12-08 17:28:44 +0000