Commit Graph

40 Commits

Author SHA1 Message Date
Daniel Marjamäki 5b9aa96aba Licensing: Using the GPL 3 license 2008-10-26 07:55:15 +00:00
Daniel Marjamäki ae322b5f45 made cppcheck compile with g++ 4.3 2008-08-30 18:29:37 +00:00
Daniel Marjamäki a282495c2a buffer overruns: added tests and improved the checking 2008-08-12 06:39:41 +00:00
Daniel Marjamäki ece441d952 CheckBufferOverrun: Refactoring and made the checking smarter 2008-05-10 13:48:15 +00:00
Daniel Marjamäki aef0278e43 CheckBufferOverrun: Fixed minor bug that resultet in false positives 2008-05-10 12:12:50 +00:00
Daniel Marjamäki 137a4c6309 CheckBufferOverrun: Removed a false positive 2008-04-06 11:53:23 +00:00
Daniel Marjamäki c56cfb5305 Match: Added matching for [] 2008-04-02 09:37:05 +00:00
Daniel Marjamäki 60e454fa11 Minor updates. Removed some false positives when checking variable scope 2008-04-01 06:21:12 +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 bf6926232b CheckBufferOverrun: Improved checking of arrays declared like this: "type * var [ num ]" 2008-03-27 05:41:21 +00:00
Daniel Marjamäki 021b86afa2 test cppcheck: All tests work 2008-03-26 07:18:40 +00:00
Daniel Marjamäki b011228fce Fixed bugs in 'CheckBufferOverrun.cpp' 2008-03-25 17:10:52 +00:00
Daniel Marjamäki 5296377c52 To compile with borland, 'algorithm' was needed 2008-03-25 05:52:28 +00:00
Daniel Marjamäki fcff7a4052 Refactoring of 'CheckBufferOverrun.cpp' 2008-03-24 19:32:17 +00:00
Daniel Marjamäki 41252ac45a Refactoring 'CheckBufferOverrun'. Added 'Match1'. 2008-03-24 16:24:07 +00:00
Daniel Marjamäki 1e379b8ffa Refactoring the 'CheckBufferOverrun' 2008-03-24 11:51:16 +00:00
Daniel Marjamäki 954cccf843 Removed checking of 'dynamic data' it's impossible to determine if it's
false or true positives without deeper analysis.
2008-03-24 11:00:04 +00:00
Daniel Marjamäki c327dc10d8 Made the checking for buffer overruns more generic 2008-03-24 10:03:45 +00:00
Daniel Marjamäki b7477cb27f Combined 'findfunction' and 'FindFunction'. Updated "CheckBufferOverrun"
(checking for-loops).
2008-03-24 07:24:49 +00:00
Daniel Marjamäki 4c17dd9499 Buffer overrun in function parameter 2008-03-23 16:18:31 +00:00
Daniel Marjamäki 44bee90d82 Refactoring (Replace '->' with '.', use matching function when possible) 2008-03-23 14:15:44 +00:00
Daniel Marjamäki 75debeba37 Reverted 205:207 2008-03-23 13:38:01 +00:00
Daniel Marjamäki 34a2fdfb37 Refactoring 2008-03-23 13:27:34 +00:00
Daniel Marjamäki 3dfc79d3b6 Refactoring: Use 'setindentlevel' 2008-03-23 07:57:27 +00:00
Daniel Marjamäki 0d0f562e90 Refactoring: Added helper function 'setindentlevel' 2008-03-22 20:14:25 +00:00
Daniel Marjamäki ede402a5ec Minor refactoring 2008-03-22 17:09:08 +00:00
Daniel Marjamäki ab7cb379af In the checks, use const pointers 2008-03-22 11:46:06 +00:00
Daniel Marjamäki 13f681879f Handling pointers in 'CheckBufferOverrun_StructVariable' 2008-03-21 18:55:29 +00:00
Daniel Marjamäki 0a86992806 Check for buffer overruns for struct members (only numeric) 2008-03-21 17:25:25 +00:00
Daniel Marjamäki e9682bbb0e Fixed bug (Dereferencing NULL) 2008-02-21 20:17:18 +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 b44e82bc22 Buffer overrun: also check the 'memcopy' parameters. 2007-06-05 20:29:58 +00:00
Daniel Marjamäki 0531c02fca CheckBufferOverrun: Optimized and improved the checking 2007-06-05 04:52:01 +00:00
Daniel Marjamäki 000d5c0249 CheckBufferOverrun.cpp: Bug fixes 2007-05-30 20:07:02 +00:00
Daniel Marjamäki 48a584201c CheckBufferOverrun: Improved checking for types other than char 2007-05-26 06:41:41 +00:00
Daniel Marjamäki 997ae5f5b8 CheckBufferOverrun: Added 'CheckDangerousFunctions' 2007-05-25 06:44:53 +00:00
Daniel Marjamäki 399a3e2598 CheckBufferOverrun; Added files 2007-05-24 13:06:47 +00:00