Commit Graph

11886 Commits

Author SHA1 Message Date
Daniel Marjamäki 48a584201c CheckBufferOverrun: Improved checking for types other than char 2007-05-26 06:41:41 +00:00
Daniel Marjamäki da2dc8cc5b cppcheck: added checkothers to the project 2007-05-25 06:52:02 +00:00
Daniel Marjamäki 162b02bcb4 CheckOther: Added files. This will contain checks that don't fit in the other checking files. 2007-05-25 06:51:18 +00:00
Daniel Marjamäki a8f4091875 tokenize: moved 'IsName' to commoncheck. Replace 'sizeof(type)' with size. 2007-05-25 06:50:16 +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 be6a45069b Statements: Moved 'IsName' from main to commoncheck 2007-05-25 06:47:45 +00:00
Daniel Marjamäki 3991ccab25 CheckClass: Moved 'IsName' from main to commoncheck 2007-05-25 06:47:04 +00:00
Daniel Marjamäki 909bf7e6cd CommonCheck: Moved 'IsName' and 'IsNumber' from main.cpp 2007-05-25 06:45:47 +00:00
Daniel Marjamäki 997ae5f5b8 CheckBufferOverrun: Added 'CheckDangerousFunctions' 2007-05-25 06:44:53 +00:00
Daniel Marjamäki 0a57ef44f7 CommonCheck: Common functions used while checking for mistakes 2007-05-24 13:09:23 +00:00
Daniel Marjamäki 454c349363 CheckMemoryLeak: Added files (Check for memory leaks) 2007-05-24 13:08:51 +00:00
Daniel Marjamäki 7b9d6a7215 CheckHeaders: Added files (Check for mistakes in headers or related to headers) 2007-05-24 13:08:18 +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 399a3e2598 CheckBufferOverrun; Added files 2007-05-24 13:06:47 +00:00
Daniel Marjamäki ae4c97f814 tokenize: Added files 2007-05-24 05:40:45 +00:00
Daniel Marjamäki 442ed0fa00 readme: minor updates 2007-05-23 07:49:44 +00:00
Daniel Marjamäki ac3073e9fd Tests: Added 'TestBufferOverrun5' 2007-05-21 18:04:19 +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 d8139cf66d Test: minor update to TestBufferOverrun1 2007-05-21 17:19:26 +00:00
Daniel Marjamäki 63dd654ae4 Test: Updated 'TestBufferOverrun2'. Bufferusage out of bounds. 2007-05-21 17:18:50 +00:00
Daniel Marjamäki 39aef96ee6 Test: Added 'TestBufferOverrun4' 2007-05-21 17:17:11 +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 a48d8cad54 Test: Buffer overrun 2007-05-21 09:54:42 +00:00
Daniel Marjamäki b570e3c81d Test: Added 'TestBufferOverrun1' 2007-05-20 17:47:39 +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 c7cc0d0f9c Test: Updated 'testmemcheck4' and 'testmemcheck5' (continue/break) 2007-05-20 06:36:47 +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 dae2f117ce Test: Updated "testloop" 2007-05-19 19:23:34 +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 97043b85f3 Test: Added "testif1", contains "if (ab);" 2007-05-19 19:20:43 +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 489377fde6 Test: File with wrong name was renamed 2007-05-19 18:58:03 +00:00
Daniel Marjamäki 0114959c18 Test: File with wrong name was renamed 2007-05-19 17:58:38 +00:00
Daniel Marjamäki b75bcdb607 Tests: Updated the internaltesting tests "testif" and "testloop" 2007-05-19 17:58:05 +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
Daniel Marjamäki 0d5d4f299a Building Statement List: CONTINUE, BREAK 2007-05-19 17:01:42 +00:00
Daniel Marjamäki a21ca7e6f6 internaltesting: IF 2007-05-18 18:40:44 +00:00
Daniel Marjamäki 7f98039631 Tests: Modified the test 'teststdfunc1'. Warnings has been deactivated. 2007-05-18 18:27:04 +00:00
Daniel Marjamäki f98c122fe7 Tests: Renamed 'warnstdfunc1' to 'teststdfunc1' 2007-05-18 18:25:29 +00:00
Daniel Marjamäki 733eba08fa Testing: Renamed 'warnclass12' to 'testclass12' 2007-05-18 18:24:13 +00:00
Daniel Marjamäki 8e568a1fd0 * Building Statement list: MALLOC, FREE
* Deactivated some warnings to make the output more interesting
2007-05-18 18:22:16 +00:00
Daniel Marjamäki f7fc197f75 Testing: Deactivating some warnings 2007-05-18 18:19:05 +00:00
Daniel Marjamäki e08c48e7d2 Building Statement List: IF, ELSE, ELSEIF 2007-05-18 17:52:27 +00:00