Commit Graph

1512 Commits

Author SHA1 Message Date
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
Daniel Marjamäki e47390597e Building statement list; OBRACE, EBRACE, DECL 2007-05-14 16:25:34 +00:00
Daniel Marjamäki dad497f314 Class (unused private functions): Reactivated and improved this check 2007-05-11 17:13:04 +00:00
Daniel Marjamäki 0fd16be44b Minor updates. Make sure there is no doublechecking. Don't perform certain checks upon c-files. 2007-05-10 17:25:52 +00:00
Daniel Marjamäki ad75792512 Updated script that checks notepad++ 2007-05-10 17:24:52 +00:00
Daniel Marjamäki 1477e16f7b updated error reports for test cases 2007-05-09 18:10:35 +00:00
Daniel Marjamäki 2c697c6252 Check 'operator=()' 2007-05-09 18:10:10 +00:00