Commit Graph

3355 Commits

Author SHA1 Message Date
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
Reijo Tomperi 5eee9af974 sprintf counter improvements 2009-10-08 16:27:46 +03:00
Reijo Tomperi ad5d87ee14 Fix #802 (possible null pointer dereference reported for reference)
http://sourceforge.net/apps/trac/cppcheck/ticket/802
2009-10-08 11:55:37 +03:00
Reijo Tomperi f83554e534 Use var id instead of var name in check stl. 2009-10-07 23:53:16 +03:00
Reijo Tomperi 668d4d0fe3 Use varid instead of varname in stl check. 2009-10-07 23:49:06 +03:00
Reijo Tomperi 014ad937cf Optimize speed and fix one false positive with stl checks. 2009-10-07 23:38:21 +03:00
Reijo Tomperi 52ca36a6ed Added more test cases for sprintf counter 2009-10-07 21:33:44 +03:00
Daniel Marjamäki 13e43b8710 Ashim Kapoor: updated the counter (#694) 2009-10-07 18:21:44 +02:00
Reijo Tomperi fcd269dbf7 Refactoring: Moved some code into a new function.
Renamed count->countSprintfLength.
Added code to collect sprintf parameters.
Added a few TODO test cases.
2009-10-07 15:37:20 +03:00
Reijo Tomperi 8fc21dda27 Fix #801 (Tokenizer: Simplify sizeof for function parameters)
http://sourceforge.net/apps/trac/cppcheck/ticket/801
2009-10-07 12:05:44 +03:00
Reijo Tomperi 06dd66bff4 Fix #487 (Tokenizer: Simplify sizeof for string array and string pointer)
http://sourceforge.net/apps/trac/cppcheck/ticket/487
2009-10-07 11:08:53 +03:00
Reijo Tomperi 8472e58413 Refactored sizeof simplification and fixed one TODO assert. 2009-10-07 10:54:34 +03:00
Reijo Tomperi d9ae2c171e Detect referenced by value errors for std::map also. 2009-10-07 00:04:54 +03:00
Reijo Tomperi ab762b1a00 Fix #388 (resource leak not detected, allocation through function call)
http://sourceforge.net/apps/trac/cppcheck/ticket/388
2009-10-06 23:14:32 +03:00
Reijo Tomperi 2e69d50458 Fix #796 (segmentation fault while scanning)
http://sourceforge.net/apps/trac/cppcheck/ticket/796
2009-10-06 21:03:15 +03:00
Daniel Marjamäki 36fb24b1a5 memory leaks: don't write errors for static member variables 2009-10-06 18:25:00 +02:00
Daniel Marjamäki c3d56c1d13 Fix #797 (false positive: variable scope when using function call) 2009-10-06 17:45:28 +02:00
Reijo Tomperi d598bed1c6 Fix #575 (Array index out of bounds check: get address of one-past-the-end array is legal)
http://sourceforge.net/apps/trac/cppcheck/ticket/575
2009-10-06 14:50:27 +03:00
Reijo Tomperi c55140d4cd Fix #580 (double free not found)
http://sourceforge.net/apps/trac/cppcheck/ticket/580
2009-10-06 12:44:53 +03:00
Reijo Tomperi 13fbd616da Moved some test cases from testtokenize into testsimplifytokens and added one TODO case. 2009-10-06 12:40:50 +03:00
Reijo Tomperi 272f0d3be5 Fix #795 (Preprocessor: Incorrect handling of #if (A) || (B))
http://sourceforge.net/apps/trac/cppcheck/ticket/795
2009-10-06 11:47:36 +03:00
Reijo Tomperi 0a7da96cb6 Fix #765 (divsion by zero not detected in std::cout stream)
http://sourceforge.net/apps/trac/cppcheck/ticket/765
2009-10-06 09:14:59 +03:00