Commit Graph

2926 Commits

Author SHA1 Message Date
Reijo Tomperi 34fe032dbe Fix #825 (Error with id syntaxError not in list printed with --errorlist)
http://sourceforge.net/apps/trac/cppcheck/ticket/825
2009-10-18 00:11:48 +03:00
Reijo Tomperi 4e9f4d4abc Fix segmentation fault with --errorlist 2009-10-17 21:13:09 +03:00
Daniel Marjamäki cb76061118 unused struct member: bail out when casting 2009-10-17 19:31:14 +02:00
Daniel Marjamäki 2ec1b676ea Pointer Aliasing: Handle pointer aliasing through the Tokenizer::simplifyKnownVariables 2009-10-17 18:21:13 +02:00
Daniel Marjamäki 2e9f7755ee Unused struct members: bail out upon casting 2009-10-17 17:36:55 +02:00
Daniel Marjamäki fa14dcbf68 fixed compiler error when building gui 2009-10-17 11:34:17 +02:00
Daniel Marjamäki 48669e61a1 Fixed #824 (Exit code of cppcheck) 2009-10-17 08:19:37 +02:00
Daniel Marjamäki ffbf8e38ac stl: after vector::insert, iterators may become invalid 2009-10-15 21:29:56 +02:00
Daniel Marjamäki 01af70cc88 Fixed #823 (Buffer overrun with memcpy) 2009-10-15 19:36:48 +02:00
Daniel Marjamäki 2a034c10bf fixed doxygen warning messages 2009-10-15 18:52:29 +02:00
Daniel Marjamäki 91de8f399b Fixed #821 (Preprocessor: Wrong stringification in macros) 2009-10-14 20:40:17 +02:00
Daniel Marjamäki dd20f26c83 Fixed #820 (Borland C++: Compiler errors because of time_t) 2009-10-14 19:17:20 +02:00
Reijo Tomperi be90d34962 Buffer overrun errors behind function call should be possible errors. 2009-10-14 00:09:37 +03:00
Reijo Tomperi 3dc45903bc Move buffer overrun errors behind --all
Fix one possible error issue with arrayindexoutofbounds
Make sure that possible errors are not shown without --all
2009-10-13 23:33:41 +03:00
Reijo Tomperi a3a55547d8 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-10-13 22:41:21 +03:00
Reijo Tomperi 4036dd5eff arrayIndexOutOfBounds check is now done without --all
Errors with buf[1] are still listed only with --all due to false positive risk in them.
2009-10-13 22:39:51 +03:00
Daniel Marjamäki a33b4744a3 stl: better checking for invalid iterator after push_back 2009-10-13 20:55:33 +02:00
Reijo Tomperi 0c3da73ee1 Fix #815 (rev. 47e9d1: compilation error)
http://sourceforge.net/apps/trac/cppcheck/ticket/815
2009-10-13 18:49:11 +03:00
Reijo Tomperi 47e9d174e3 Undocumented --showtime option should now work on other platforms also.
Improved --showtime to give more information.
2009-10-13 12:21:41 +03:00
Reijo Tomperi 8e0f868a5e Fix #455 (Recheck is enabled when no previous results available)
http://sourceforge.net/apps/trac/cppcheck/ticket/455
2009-10-13 11:19:00 +03:00
Daniel Marjamäki be0c79f36c Merge branch 'memleak' 2009-10-12 21:36:47 +02:00
Daniel Marjamäki ed3860a0a7 Fixed #805 (False positive: Member functions not handled correctly) 2009-10-12 21:36:28 +02:00
Reijo Tomperi b95ea6ddc4 Fix #814 (Improvements for readme.txt)
http://sourceforge.net/apps/trac/cppcheck/ticket/814
2009-10-12 21:36:38 +03:00
Reijo Tomperi b6999d010f Fix #812 (False positive: sprintf with "%.4s" with --all)
http://sourceforge.net/apps/trac/cppcheck/ticket/812
2009-10-11 22:07:18 +03:00
Reijo Tomperi 59aad35137 Fix #694 (False (possible error) Buffer overrun with %-1s)
ashim2009 did most of the work
http://sourceforge.net/apps/trac/cppcheck/ticket/694
2009-10-11 21:36:22 +03:00
Daniel Marjamäki bcc77f7f8b script for creating web content 2009-10-11 18:22:28 +02:00
Reijo Tomperi 675cc08340 Refactoring: Split null pointer check into 4 smaller functions. 2009-10-11 18:10:20 +03:00
Reijo Tomperi 1401e3f668 Fix #810 (false positive: Division with signed and unsigned operators)
http://sourceforge.net/apps/trac/cppcheck/ticket/810
2009-10-11 17:52:35 +03:00
Reijo Tomperi cbe9fcad9f Getting rid of warning C4267: 'return' : conversion from 'size_t' to 'unsigned int' 2009-10-11 17:40:50 +03:00
Reijo Tomperi de70874084 Getting rid of compiler warning: C4310: cast truncates constant value 2009-10-11 17:38:55 +03:00
Daniel Marjamäki 485f02642c win_installer: Added build scripts 2009-10-11 10:16:26 +02:00
Daniel Marjamäki c6dac38d4a win_installer: minor tweaks 2009-10-11 10:15:08 +02:00
Daniel Marjamäki f494fc9b49 a simple build script for building devinfo.html 2009-10-10 22:43:42 +02:00
Reijo Tomperi ea36632ca3 Fix #808 (Segfault in Preprocessor)
http://sourceforge.net/apps/trac/cppcheck/ticket/808
2009-10-10 23:23:48 +03:00
Daniel Marjamäki e52c36788f Merge branch 'master' of git@github.com:danmar/cppcheck 2009-10-10 22:11:00 +02:00
Daniel Marjamäki d2e2b1d9fe Borland C++: Updated the project file 2009-10-10 22:10:33 +02:00
Reijo Tomperi a7547f15e3 Fix compiler warning warning C4512: 'PreprocessorMacro' : assignment operator could not be generated 2009-10-10 23:01:33 +03:00
Reijo Tomperi efbe65dad6 Get rid of compiler warning warning C4127: conditional expression is constant 2009-10-10 22:58:45 +03:00
Reijo Tomperi 4c8f7fa7fb Get rid of a compiler warning. conversion from 'size_t' to 'int', possible loss of data 2009-10-10 22:54:58 +03:00
Slava Semushin 237dcb9533 Fixed #809 (Tokenizer: don't replace sizeof() of unknown type to zero)
http://sourceforge.net/apps/trac/cppcheck/ticket/809
2009-10-10 19:26:03 +07:00
Daniel Marjamäki b67fe861b8 Added testcase for #807 (cppcheck crashes scanning ruby 1.9.1) 2009-10-10 10:13:56 +02:00
Daniel Marjamäki b212d77b7c minor refactoring 2009-10-10 09:29:06 +02:00
Daniel Marjamäki 1445090f29 Borland C++: Fixed compiler errors 2009-10-10 09:16:33 +02:00
Daniel Marjamäki 67f53661a9 Fixed #806 (cppcheck crashes scanning openssl) 2009-10-09 21:11:29 +02:00
Daniel Marjamäki dbfba8c2a6 jonas054: fixed #807 (cppcheck crashes scanning ruby 1.9.1) 2009-10-09 17:28:23 +02:00
Daniel Marjamäki 6923a09001 memory leaks: minor cleanups 2009-10-08 22:30:33 +02:00
Daniel Marjamäki b95f0eaa41 optimisation: made the memory leaks checking faster 2009-10-08 20:49:27 +02:00
Daniel Marjamäki aa008ebd3e optimisation: removed duplicate call of Tokenizer::setVarId 2009-10-08 17:46:53 +02:00
Reijo Tomperi 38c2a360ee Fix #674 (Feature request: error filtering)
--suppressions argument added to CLI
http://sourceforge.net/apps/trac/cppcheck/ticket/674
2009-10-08 17:56:30 +03:00
Reijo Tomperi a078c9353d More test cases for sprintf counter 2009-10-08 17:36:00 +03:00