Commit Graph

  • b3a3097b66 CheckHeaders: Limit the number of warnings about 'implementation in header' Daniel Marjamäki 2007-06-08 18:17:32 +0000
  • bc70635e10 Main: More checks are only done when the '-w' flag is given. Daniel Marjamäki 2007-06-08 18:01:23 +0000
  • 7801d262a2 CheckHeaders: Bug fix Daniel Marjamäki 2007-06-08 17:19:31 +0000
  • 148ac8a57a CheckHeaders: Bug fix Daniel Marjamäki 2007-06-08 16:57:20 +0000
  • 746c99be28 Modified comments Daniel Marjamäki 2007-06-08 16:46:51 +0000
  • abc1f6816d CheckHeaders: Check if all included headers are needed Daniel Marjamäki 2007-06-08 16:46:06 +0000
  • 0525aeb5e4 Added check: "if (condition) var=true;" can be written as "var|=(condition);" Daniel Marjamäki 2007-06-06 17:33:28 +0000
  • b44e82bc22 Buffer overrun: also check the 'memcopy' parameters. Daniel Marjamäki 2007-06-05 20:29:58 +0000
  • 921dd3cf21 Added check: suspicious usage of strtok Daniel Marjamäki 2007-06-05 20:29:03 +0000
  • 10a7868fc6 Invalid Function Parameter: Check calls to strtol and strtoul Daniel Marjamäki 2007-06-05 18:58:27 +0000
  • 0b7686d2be CheckHeaders: Minor update Daniel Marjamäki 2007-06-05 18:02:34 +0000
  • 0531c02fca CheckBufferOverrun: Optimized and improved the checking Daniel Marjamäki 2007-06-05 04:52:01 +0000
  • cf7485ce0c Added check: 'IsAlpha' Daniel Marjamäki 2007-06-05 04:51:01 +0000
  • 7b07271134 Tests: Updated the tests. Checking for unneeded includes Daniel Marjamäki 2007-06-04 06:36:08 +0000
  • eb24a6fecd CheckHeaders: Check for unnecessary headers. some fixes. Daniel Marjamäki 2007-06-04 06:31:57 +0000
  • eade228c24 CheckMemoryLeak: Bug fix. Daniel Marjamäki 2007-06-03 17:09:15 +0000
  • 7a8ee64068 tokenize: bug fixes. Handling typedefs. Daniel Marjamäki 2007-06-03 17:08:30 +0000
  • 2ebf2dd530 Test: Updated 'testif2' which is testing the 'a=b; if (a!=b)' Daniel Marjamäki 2007-06-02 16:37:06 +0000
  • 2490357054 Test: Test that 'a=b; if (a==b)' don't generate false positives Daniel Marjamäki 2007-06-02 16:33:46 +0000
  • 2c9a688dd4 Test: Test that 'a=b; if (a==b)' is detected Daniel Marjamäki 2007-06-02 16:32:45 +0000
  • 7b85324a0b tokenize: Fixed the 'typedef' simplifications. Added token '#' upon preprocessor instructions. Daniel Marjamäki 2007-06-02 16:32:07 +0000
  • 13657ab127 Test: Test that 'a=b; if (a==b)' is detected Daniel Marjamäki 2007-06-02 16:30:35 +0000
  • f9e684d135 CheckOther: Added check for 'a=b; if (a==b)' Daniel Marjamäki 2007-06-02 16:29:05 +0000
  • f3bbdbf144 tokenizer: made the 'SizeOfType' public. bug fix in the tokenizer (strings longer than 1000 characters). Daniel Marjamäki 2007-05-30 20:08:05 +0000
  • 000d5c0249 CheckBufferOverrun.cpp: Bug fixes Daniel Marjamäki 2007-05-30 20:07:02 +0000
  • f99a79de9b minor updates Daniel Marjamäki 2007-05-29 17:12:14 +0000
  • 012ba2f492 Tokenize: Replace 'typedef' Daniel Marjamäki 2007-05-29 17:11:53 +0000
  • ae46002607 Tokenize: Simplify declarations Daniel Marjamäki 2007-05-29 06:24:36 +0000
  • a2df9a5647 Tokenize: Replace '*(var+num)' with 'var[num]' Daniel Marjamäki 2007-05-28 10:34:18 +0000
  • 03bcdf9e6e Tokenize: improved the preprocessing of 'sizeof(type)' Daniel Marjamäki 2007-05-28 06:17:18 +0000
  • 95906c1b0f tok: Added a program that tests the tokenizer. Daniel Marjamäki 2007-05-26 06:45:00 +0000
  • 7908421e0e Tokenize: Improved the tokenizer. Calculations are done in the tokenizer. sizeof is replaced with numbers. Daniel Marjamäki 2007-05-26 06:44:28 +0000
  • 5753d4d776 Test: Added a buffer overrun test that contains a calculation that points at an illegal index Daniel Marjamäki 2007-05-26 06:43:35 +0000
  • 7b7650ad97 Makefile: Updated because the program has been split up into several files. Daniel Marjamäki 2007-05-26 06:42:31 +0000
  • 48a584201c CheckBufferOverrun: Improved checking for types other than char Daniel Marjamäki 2007-05-26 06:41:41 +0000
  • da2dc8cc5b cppcheck: added checkothers to the project Daniel Marjamäki 2007-05-25 06:52:02 +0000
  • 162b02bcb4 CheckOther: Added files. This will contain checks that don't fit in the other checking files. Daniel Marjamäki 2007-05-25 06:51:18 +0000
  • a8f4091875 tokenize: moved 'IsName' to commoncheck. Replace 'sizeof(type)' with size. Daniel Marjamäki 2007-05-25 06:50:16 +0000
  • 284266664b Main: Moved 'IsName' and 'IsNumber' to commoncheck. Moved remaining checks to checkother and checkbufferoverrun. Daniel Marjamäki 2007-05-25 06:48:56 +0000
  • be6a45069b Statements: Moved 'IsName' from main to commoncheck Daniel Marjamäki 2007-05-25 06:47:45 +0000
  • 3991ccab25 CheckClass: Moved 'IsName' from main to commoncheck Daniel Marjamäki 2007-05-25 06:47:04 +0000
  • 909bf7e6cd CommonCheck: Moved 'IsName' and 'IsNumber' from main.cpp Daniel Marjamäki 2007-05-25 06:45:47 +0000
  • 997ae5f5b8 CheckBufferOverrun: Added 'CheckDangerousFunctions' Daniel Marjamäki 2007-05-25 06:44:53 +0000
  • 0a57ef44f7 CommonCheck: Common functions used while checking for mistakes Daniel Marjamäki 2007-05-24 13:09:23 +0000
  • 454c349363 CheckMemoryLeak: Added files (Check for memory leaks) Daniel Marjamäki 2007-05-24 13:08:51 +0000
  • 7b9d6a7215 CheckHeaders: Added files (Check for mistakes in headers or related to headers) Daniel Marjamäki 2007-05-24 13:08:18 +0000
  • f20c34a751 CheckClass; Added files (Check for mistakes related to classes) Daniel Marjamäki 2007-05-24 13:07:30 +0000
  • 399a3e2598 CheckBufferOverrun; Added files Daniel Marjamäki 2007-05-24 13:06:47 +0000
  • ae4c97f814 tokenize: Added files Daniel Marjamäki 2007-05-24 05:40:45 +0000
  • 442ed0fa00 readme: minor updates Daniel Marjamäki 2007-05-23 07:49:44 +0000
  • ac3073e9fd Tests: Added 'TestBufferOverrun5' Daniel Marjamäki 2007-05-21 18:04:19 +0000
  • 45c5871503 Replacing constants to make it easier to find bugs. Daniel Marjamäki 2007-05-21 18:03:40 +0000
  • d8139cf66d Test: minor update to TestBufferOverrun1 Daniel Marjamäki 2007-05-21 17:19:26 +0000
  • 63dd654ae4 Test: Updated 'TestBufferOverrun2'. Bufferusage out of bounds. Daniel Marjamäki 2007-05-21 17:18:50 +0000
  • 39aef96ee6 Test: Added 'TestBufferOverrun4' Daniel Marjamäki 2007-05-21 17:17:11 +0000
  • 6f69fefc24 Testing: Added warning messages. Daniel Marjamäki 2007-05-21 17:16:35 +0000
  • 242f627db2 CheckBufferOverrun: buffer overrun inside loop. The tokenizer will convert hexadecimal values to decimal values, which simplifies the checking. Daniel Marjamäki 2007-05-21 09:55:57 +0000
  • a48d8cad54 Test: Buffer overrun Daniel Marjamäki 2007-05-21 09:54:42 +0000
  • b570e3c81d Test: Added 'TestBufferOverrun1' Daniel Marjamäki 2007-05-20 17:47:39 +0000
  • bda349f9a6 CheckBufferOverrun: Array index out of bounds. Daniel Marjamäki 2007-05-20 17:47:07 +0000
  • 9ac1525d8e Buffer Overrun: Using dangerous functions Daniel Marjamäki 2007-05-20 17:02:24 +0000
  • f6c1973e67 Building statement list: SWITCH - BREAK Daniel Marjamäki 2007-05-20 15:28:42 +0000
  • c7cc0d0f9c Test: Updated 'testmemcheck4' and 'testmemcheck5' (continue/break) Daniel Marjamäki 2007-05-20 06:36:47 +0000
  • 7e54a6af54 CheckMemoryLeak: Handling continue/break Daniel Marjamäki 2007-05-20 06:35:56 +0000
  • 685c8560d0 WarningIf: Bug fix Daniel Marjamäki 2007-05-20 05:49:51 +0000
  • dae2f117ce Test: Updated "testloop" Daniel Marjamäki 2007-05-19 19:23:34 +0000
  • 8ec92256ea Build Statement List: LOOP, ENDLOOP Daniel Marjamäki 2007-05-19 19:23:03 +0000
  • 139eabae9d Daniel Marjamäki 2007-05-19 19:21:14 +0000
  • 97043b85f3 Test: Added "testif1", contains "if (ab);" Daniel Marjamäki 2007-05-19 19:20:43 +0000
  • 4f2f651d18 CheckMemleak: Don't handle conditional allocation at the moment. Daniel Marjamäki 2007-05-19 19:00:16 +0000
  • 489377fde6 Test: File with wrong name was renamed Daniel Marjamäki 2007-05-19 18:58:03 +0000
  • 0114959c18 Test: File with wrong name was renamed Daniel Marjamäki 2007-05-19 17:58:38 +0000
  • b75bcdb607 Tests: Updated the internaltesting tests "testif" and "testloop" Daniel Marjamäki 2007-05-19 17:58:05 +0000
  • 22b1e990bb Build Statement List: ENDIF Daniel Marjamäki 2007-05-19 17:57:08 +0000
  • 9523f0e2e8 Tests: Added "testmemcheck4", memory leak from a strdup Daniel Marjamäki 2007-05-19 17:26:28 +0000
  • c3efd64b27 Building Statement List: MALLOC. Bug fix (strdup is a malloc) Daniel Marjamäki 2007-05-19 17:13:55 +0000
  • 0d5d4f299a Building Statement List: CONTINUE, BREAK Daniel Marjamäki 2007-05-19 17:01:42 +0000
  • a21ca7e6f6 internaltesting: IF Daniel Marjamäki 2007-05-18 18:40:44 +0000
  • 7f98039631 Tests: Modified the test 'teststdfunc1'. Warnings has been deactivated. Daniel Marjamäki 2007-05-18 18:27:04 +0000
  • f98c122fe7 Tests: Renamed 'warnstdfunc1' to 'teststdfunc1' Daniel Marjamäki 2007-05-18 18:25:29 +0000
  • 733eba08fa Testing: Renamed 'warnclass12' to 'testclass12' Daniel Marjamäki 2007-05-18 18:24:13 +0000
  • 8e568a1fd0 * Building Statement list: MALLOC, FREE * Deactivated some warnings to make the output more interesting Daniel Marjamäki 2007-05-18 18:22:16 +0000
  • f7fc197f75 Testing: Deactivating some warnings Daniel Marjamäki 2007-05-18 18:19:05 +0000
  • e08c48e7d2 Building Statement List: IF, ELSE, ELSEIF Daniel Marjamäki 2007-05-18 17:52:27 +0000
  • 0bf77b2051 Testing: memcheck3 - new and delete (no error) Daniel Marjamäki 2007-05-18 17:51:35 +0000
  • 45f2292a5e Testing: "return" and "delete" are not variable declarations Daniel Marjamäki 2007-05-17 17:26:32 +0000
  • 262c213a13 Added test for memory checking Daniel Marjamäki 2007-05-17 17:25:50 +0000
  • 775a62be69 Improving the accuracy of the memory leaks detecting Daniel Marjamäki 2007-05-17 17:25:20 +0000
  • b08536db35 Test: updated the error message output by memcheck1 Daniel Marjamäki 2007-05-16 17:17:29 +0000
  • b3ecc3f17c Test: Internal testing, updated the messages Daniel Marjamäki 2007-05-16 17:16:57 +0000
  • 8a3b14aeec Bug fixing Daniel Marjamäki 2007-05-16 17:16:25 +0000
  • d3366b0267 Checking for memory leaks.. only active in debug mode since it's so inaccurate Daniel Marjamäki 2007-05-16 10:34:12 +0000
  • 83faeeebb3 Building statement list; USE Daniel Marjamäki 2007-05-16 10:32:13 +0000
  • 7802239725 Test: Internal testing, added "testuse" Daniel Marjamäki 2007-05-16 10:31:44 +0000
  • 6b444fbde3 readme: minor update Daniel Marjamäki 2007-05-15 19:07:22 +0000
  • 9896c237bb Check for memory leaks Daniel Marjamäki 2007-05-15 18:31:44 +0000
  • cd169a6c27 Test: Added "TestMemCheck1" -> mismatching allocation and deallocation Daniel Marjamäki 2007-05-15 18:30:51 +0000
  • 03e1eadba6 Test: Added command line option "--debug" that is used by the tests "internaltesting" Daniel Marjamäki 2007-05-15 16:51:39 +0000
  • 0b0aa636af Test: Internal testing Daniel Marjamäki 2007-05-15 16:50:22 +0000
  • fd726d710f Building statement list; bug fixes Daniel Marjamäki 2007-05-15 11:19:52 +0000