Commit Graph

70 Commits

Author SHA1 Message Date
Daniel Marjamäki 214266c08c Added comments 2008-04-11 06:58:45 +00:00
Daniel Marjamäki 62e06185f8 Minor updates to [232] and [233]. Use __GNUC__ define instead of CYGWIN 2008-04-06 06:45:30 +00:00
Daniel Marjamäki 794710a0bd Addon to [232] 2008-04-06 06:35:53 +00:00
Daniel Marjamäki a938b4ed39 Fixing bug 1935006 - Compile problems on cygwin 2008-04-06 06:26:11 +00:00
Daniel Marjamäki 69d33444d4 Added style checks to check for unused global functions 2008-03-29 09:44:23 +00:00
Daniel Marjamäki f8569f0db4 Refactoring: Removed 'HasErrors'. Better usage of 'Match'. Hid the 'FunctionList' 2008-03-28 17:40:24 +00:00
Daniel Marjamäki 4691999ede Refactoring: Replaced deprecated "match" with the new "Match" 2008-03-28 07:18:03 +00:00
Daniel Marjamäki b1b7593c76 Updates here and there to make it more accurate 2008-03-19 06:03:56 +00:00
Daniel Marjamäki 119e719d52 bug fixes for 'CheckVariableScope' 2008-03-16 17:39:38 +00:00
Daniel Marjamäki a6696d6f7d Removed false positives and also duplicate error messages. 2008-02-22 14:30:43 +00:00
Daniel Marjamäki 6100b19640 sort the files before checking to make the results comparable 2008-02-22 07:25:31 +00:00
Daniel Marjamäki 97003e8064 recursive checking when compiling with gcc 2008-02-21 19:01:24 +00:00
Daniel Marjamäki b6ea2e43ff recursive checking when compiled by borland c++ 2008-02-21 17:56:51 +00:00
Daniel Marjamäki 08b3b2ab63 CheckUnsignedDivision: Added check. Not very accurate yet. 2008-02-20 18:20:59 +00:00
Daniel Marjamäki 72d9e43f92 Made it compilable by borland c++ 2008-02-18 17:11:34 +00:00
Daniel Marjamäki f06c65c071 checking multiple files 2008-02-17 18:28:51 +00:00
Daniel Marjamäki 2dace08aae Unit Testing: Moved 'testmemcheck' 2008-02-16 18:24:13 +00:00
Daniel Marjamäki 4cb3c7b96b Unit Testing: Start 2008-02-16 15:46:32 +00:00
Daniel Marjamäki a770561de4 check for uninitialized variables - less generic to increase accuracy 2008-01-10 19:01:16 +00:00
Daniel Marjamäki e7e9402ab0 disabled checks that generates false positives 2007-10-22 06:59:28 +00:00
Daniel Marjamäki 639d5fe344 Don't allow search pattern in the filename yet. There's no way to solve it through ANSI C. 2007-07-26 06:17:25 +00:00
Daniel Marjamäki ae8a914832 Searching multiple files 2007-07-24 06:24:12 +00:00
Daniel Marjamäki eb0361d6b5 Command line options: Added "--all" and "--style", removed "-w" 2007-07-20 15:43:39 +00:00
Daniel Marjamäki 3ee0d3c9d3 Improved the buffer overrun checks. Results that are not 100% certain must be enabled through the "-w". 2007-07-19 06:21:01 +00:00
Daniel Marjamäki 93b3e2e5aa Buffer overruns, using string with unknown length 2007-07-18 06:12:16 +00:00
Daniel Marjamäki ba13ad5e3c Minor updates to make it portable to Linux. 2007-07-17 06:15:50 +00:00
Daniel Marjamäki bc70635e10 Main: More checks are only done when the '-w' flag is given. 2007-06-08 18:01:23 +00:00
Daniel Marjamäki 921dd3cf21 Added check: suspicious usage of strtok 2007-06-05 20:29:03 +00:00
Daniel Marjamäki 10a7868fc6 Invalid Function Parameter: Check calls to strtol and strtoul 2007-06-05 18:58:27 +00:00
Daniel Marjamäki cf7485ce0c Added check: 'IsAlpha' 2007-06-05 04:51:01 +00:00
Daniel Marjamäki eb24a6fecd CheckHeaders: Check for unnecessary headers. some fixes. 2007-06-04 06:31:57 +00:00
Daniel Marjamäki f99a79de9b minor updates 2007-05-29 17:12:14 +00:00
Daniel Marjamäki ae46002607 Tokenize: Simplify declarations 2007-05-29 06:24:36 +00:00
Daniel Marjamäki 284266664b Main: Moved 'IsName' and 'IsNumber' to commoncheck. Moved remaining checks to checkother and checkbufferoverrun. 2007-05-25 06:48:56 +00:00
Daniel Marjamäki f20c34a751 CheckClass; Added files (Check for mistakes related to classes) 2007-05-24 13:07:30 +00:00
Daniel Marjamäki ae4c97f814 tokenize: Added files 2007-05-24 05:40:45 +00:00
Daniel Marjamäki 45c5871503 Replacing constants to make it easier to find bugs. 2007-05-21 18:03:40 +00:00
Daniel Marjamäki 6f69fefc24 Testing: Added warning messages. 2007-05-21 17:16:35 +00:00
Daniel Marjamäki 242f627db2 CheckBufferOverrun: buffer overrun inside loop. The tokenizer will convert hexadecimal values to decimal values, which simplifies the checking. 2007-05-21 09:55:57 +00:00
Daniel Marjamäki bda349f9a6 CheckBufferOverrun: Array index out of bounds. 2007-05-20 17:47:07 +00:00
Daniel Marjamäki 9ac1525d8e Buffer Overrun: Using dangerous functions 2007-05-20 17:02:24 +00:00
Daniel Marjamäki f6c1973e67 Building statement list: SWITCH - BREAK 2007-05-20 15:28:42 +00:00
Daniel Marjamäki 7e54a6af54 CheckMemoryLeak: Handling continue/break 2007-05-20 06:35:56 +00:00
Daniel Marjamäki 685c8560d0 WarningIf: Bug fix 2007-05-20 05:49:51 +00:00
Daniel Marjamäki 8ec92256ea Build Statement List: LOOP, ENDLOOP 2007-05-19 19:23:03 +00:00
Daniel Marjamäki 139eabae9d 2007-05-19 19:21:14 +00:00
Daniel Marjamäki 4f2f651d18 CheckMemleak: Don't handle conditional allocation at the moment. 2007-05-19 19:00:16 +00:00
Daniel Marjamäki 22b1e990bb Build Statement List: ENDIF 2007-05-19 17:57:08 +00:00
Daniel Marjamäki 9523f0e2e8 Tests: Added "testmemcheck4", memory leak from a strdup 2007-05-19 17:26:28 +00:00
Daniel Marjamäki c3efd64b27 Building Statement List: MALLOC. Bug fix (strdup is a malloc) 2007-05-19 17:13:55 +00:00