Commit Graph

2868 Commits

Author SHA1 Message Date
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
Daniel Marjamäki 0bf77b2051 Testing: memcheck3 - new and delete (no error) 2007-05-18 17:51:35 +00:00
Daniel Marjamäki 45f2292a5e Testing: "return" and "delete" are not variable declarations 2007-05-17 17:26:32 +00:00
Daniel Marjamäki 262c213a13 Added test for memory checking 2007-05-17 17:25:50 +00:00
Daniel Marjamäki 775a62be69 Improving the accuracy of the memory leaks detecting 2007-05-17 17:25:20 +00:00
Daniel Marjamäki b08536db35 Test: updated the error message output by memcheck1 2007-05-16 17:17:29 +00:00
Daniel Marjamäki b3ecc3f17c Test: Internal testing, updated the messages 2007-05-16 17:16:57 +00:00
Daniel Marjamäki 8a3b14aeec Bug fixing 2007-05-16 17:16:25 +00:00
Daniel Marjamäki d3366b0267 Checking for memory leaks.. only active in debug mode since it's so inaccurate 2007-05-16 10:34:12 +00:00
Daniel Marjamäki 83faeeebb3 Building statement list; USE 2007-05-16 10:32:13 +00:00
Daniel Marjamäki 7802239725 Test: Internal testing, added "testuse" 2007-05-16 10:31:44 +00:00
Daniel Marjamäki 6b444fbde3 readme: minor update 2007-05-15 19:07:22 +00:00
Daniel Marjamäki 9896c237bb Check for memory leaks 2007-05-15 18:31:44 +00:00
Daniel Marjamäki cd169a6c27 Test: Added "TestMemCheck1" -> mismatching allocation and deallocation 2007-05-15 18:30:51 +00:00
Daniel Marjamäki 03e1eadba6 Test: Added command line option "--debug" that is used by the tests "internaltesting" 2007-05-15 16:51:39 +00:00
Daniel Marjamäki 0b0aa636af Test: Internal testing 2007-05-15 16:50:22 +00:00
Daniel Marjamäki fd726d710f Building statement list; bug fixes 2007-05-15 11:19:52 +00:00
Daniel Marjamäki 8ccc97a22e Updated the Makefile. The name of this project has changed from 'codecheck' to 'cppcheck' 2007-05-15 11:19:22 +00:00
Daniel Marjamäki 1bcaa2c592 Building statement list; NEW, NEWARRAY, DELETE, DELETEARRAY 2007-05-14 16:53:38 +00:00