Commit Graph

14631 Commits

Author SHA1 Message Date
Daniel Marjamäki 61db3a7f11 todo: added 'check operator=' 2008-11-10 07:50:58 +00:00
Daniel Marjamäki b347ba5a7e Memory leak: Minor updates in the notvar function 2008-11-09 17:47:00 +00:00
Daniel Marjamäki fd7ce880aa Memory Leak: Improved checking of subfunctions. Simplify their code. 2008-11-09 17:36:53 +00:00
Daniel Marjamäki 2c74d1c0de Memory leak: Ensure that simple memory leak is detected 2008-11-09 17:27:23 +00:00
Daniel Marjamäki 8fce5d39e5 Memory leak: Began work for parsing into subfunctions. 2008-11-09 16:34:18 +00:00
Daniel Marjamäki 26bfab1c7e Memory leak: Removed false positives. 'use ; use ;' is not always the same as 'use ;' 2008-11-09 10:09:42 +00:00
Daniel Marjamäki c2ea705fd7 Memory Leak: Stronger checking. Ignore 'if use ;' and 'if dealloc;'. A leak could occur if it's not executed. 2008-11-09 08:40:57 +00:00
Reijo Tomperi ef9f472188 Refactoring: Tokenizer class added, functions still mostly static and
using globals
2008-11-09 07:19:53 +00:00
Daniel Marjamäki e9a6f223e6 GPL: Added comment in testsuite.h 2008-11-08 13:15:48 +00:00
Daniel Marjamäki 15e9f4ae25 Unused private function: Added test 2008-11-08 13:14:16 +00:00
Daniel Marjamäki 224b241f9a Memory leak: remove the dealloc in "if dealloc ;" if it's not followed
by an "else". This makes the checking stronger.
2008-11-08 07:19:19 +00:00
Reijo Tomperi 459711ed00 - Fixed compiling on Debian with gcc ( missing includes and std:: )
- Removed c-style include for Borland compiler.
2008-11-07 20:25:07 +00:00
Daniel Marjamäki 7569071846 Memory Leak: Added checking 2008-11-07 17:24:19 +00:00
Daniel Marjamäki 789aac2ef4 cleanup the files 2008-11-07 16:25:29 +00:00
Daniel Marjamäki af5b1858aa Visual C++: Fixed compiler error for "strdup" 2008-11-07 16:20:22 +00:00
Daniel Marjamäki 34f44e3c04 Memory Leaks: Convert "do-while" blocks to "while" blocks to make the handling for that the same. 2008-11-07 16:19:55 +00:00
Daniel Marjamäki cdf9ee4d8a Memory Leaks: Improved the checking of loops. 2008-11-07 07:46:28 +00:00
Daniel Marjamäki 53752c129d Borland C++: Fixed compiler error (couldn't find the function 'free') 2008-11-07 07:45:50 +00:00
Reijo Tomperi a9e1fe5637 FileLister.* and testtokenize.cpp, changed encoding to utf-8 2008-11-06 19:40:49 +00:00
Daniel Marjamäki db6b4b3069 Memory Leak: Fixed bug with strdup in loop. Bug 2225370 2008-11-06 19:16:22 +00:00
Daniel Marjamäki c220b061dc Refactoring TOKEN: Changed from struct to class 2008-11-06 18:31:39 +00:00
Daniel Marjamäki 69a3595f19 cleanup of UTF-8. Updated the Makefile 2008-11-06 00:11:37 +00:00
Daniel Marjamäki 6a3d957366 CheckAlpha: Expanded checking to include 'isupper' and 'islower' 2008-11-06 00:04:52 +00:00
Daniel Marjamäki f8a60ae5c2 CheckClass: Applied patch 2220196 2008-11-06 00:00:38 +00:00
Daniel Marjamäki dfb7b4ed72 todo: A few short updated notes 2008-11-05 23:51:06 +00:00
Daniel Marjamäki 877aea4bf7 tests: Removed this deprecated file 2008-11-05 23:50:40 +00:00
Daniel Marjamäki 9c565d5945 C++ Builder: Updated the testrunner project 2008-11-05 23:50:18 +00:00
Daniel Marjamäki c16c12c70a Buffer overrun: Fixed a false positive 2008-11-05 23:49:46 +00:00
Daniel Marjamäki 8b9e223265 testother: Removed this test. Individual tests will be created instead 2008-11-05 23:48:59 +00:00
Daniel Marjamäki 16b5260824 testincompletestatement: created new test 2008-11-05 23:48:17 +00:00
Daniel Marjamäki b20c233599 TestBufferOverrun: Added a test case that shouldn't generate error. Get address beyond array. 2008-11-05 07:48:07 +00:00
Daniel Marjamäki eb86a0fc34 Tokenizer: Skip inline assembly (Bug 2220727) 2008-11-05 07:28:40 +00:00
Daniel Marjamäki fd4b02e538 CheckClass: Removed false positive "unused private function" for typedef (Bug 2220326) 2008-11-05 07:25:28 +00:00
Daniel Marjamäki 5e4a7fefe5 Tokenize: Changed the array CurrentToken to a std::string 2008-11-04 19:09:31 +00:00
Daniel Marjamäki 80ce75216d Borland C++: Added 'TestTokenize' to the testrunner project 2008-11-04 19:04:07 +00:00
Daniel Marjamäki c90084ee00 testpreprocessor: updated the testing for multiline preprocessor statements 2008-11-03 19:39:09 +00:00
Daniel Marjamäki ab590ce675 preprocessor: fixed invalid character 2008-11-03 19:36:43 +00:00
Daniel Marjamäki 584b6b09fe Updated the Borland C++ project files 2008-11-03 18:57:53 +00:00
Daniel Marjamäki 221517e3cc Added Visual C++ 2008 Express solution and project files 2008-11-03 18:57:18 +00:00
Daniel Marjamäki c5b26d1a7f preprocessor: simple optimizations 2008-11-03 18:56:40 +00:00
Daniel Marjamäki f25de185b4 File Listing: New handling of listing files. (Bug 2194949) 2008-11-03 18:52:39 +00:00
Daniel Marjamäki b0d1e83c88 TestPreprocessor: Minor update to ensure that extra spaces are filtered out 2008-11-03 07:56:23 +00:00
Daniel Marjamäki de3c6f9c1b Testing: DeallocateTokens after each test 2008-11-03 07:54:59 +00:00
Daniel Marjamäki 375801f51e Tokenizer: Handle '\' in preprocessor lines 2008-11-03 07:53:30 +00:00
Daniel Marjamäki b5e55859c4 preprocessor: handling the '\' in preprocessor code 2008-11-02 17:04:46 +00:00
Daniel Marjamäki ffa8e3d0b6 TestCharVar: Fixed some false positives 2008-11-02 16:29:36 +00:00
Daniel Marjamäki 7d234fd5c2 Class Checking: Fixed AV in FindClassFunction 2008-11-02 12:48:45 +00:00
Daniel Marjamäki f1330c3db0 memleak: fixed false positives for assignment in return statement (bug
2205568)
2008-11-02 10:33:38 +00:00
Daniel Marjamäki d60d133671 Uninitialized Member Variables: Fixed problems with different classes with same name (Bug 2208157) 2008-11-01 18:01:35 +00:00
Daniel Marjamäki e13dfbafe6 man: Added xml for generating man page 2008-11-01 17:16:48 +00:00