cppcheck/lib
Paul Fultz II 2a657cfd08 Check for double frees when using smart pointers (#1172)
* Check for double frees when using smart pointers

* Some updates from feedback

* Add test for mismatch allocation

* Constants

* Check smart pointer deleter

* Switch order

* Use next

* Add owned state

* Fix handling of leaks

* Use ast for checking addressof operator

* Remove stray character

* Add a test for mismatch allocator

* Add another test for deallocating with custom function
2018-04-16 11:11:13 +02:00
..
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
analyzerinfo.cpp Refactorization: pass std::string directly to std::*fstream 2018-04-11 09:50:42 +02:00
analyzerinfo.h Updated copyright year 2018-01-14 15:37:52 +01:00
astutils.cpp Extract common condition 2018-04-08 21:11:44 +03:00
astutils.h Updated copyright year 2018-03-31 20:59:09 +02:00
check.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
check.h Refactorizations: 2018-04-11 09:44:35 +02:00
check64bit.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
check64bit.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkassert.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkassert.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkautovariables.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkautovariables.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkbool.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkbool.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkboost.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkboost.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkbufferoverrun.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
checkbufferoverrun.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkclass.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
checkclass.h Improve check: Warn about virtual function calls in constructor/destructor 2018-04-02 15:31:47 +02:00
checkcondition.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:54:39 +02:00
checkcondition.h Add a check for identical inner conditions (#1156) 2018-04-08 08:13:44 +02:00
checkexceptionsafety.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkexceptionsafety.h Replaced make_container by C++11 initializer lists 2018-04-08 23:03:44 +02:00
checkfunctions.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkfunctions.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkinternal.cpp chmod 644 checkinternal.* 2018-04-14 19:45:42 +02:00
checkinternal.h chmod 644 checkinternal.* 2018-04-14 19:45:42 +02:00
checkio.cpp Replaced make_container by C++11 initializer lists 2018-04-08 23:03:44 +02:00
checkio.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkleakautovar.cpp Check for double frees when using smart pointers (#1172) 2018-04-16 11:11:13 +02:00
checkleakautovar.h Check for double frees when using smart pointers (#1172) 2018-04-16 11:11:13 +02:00
checkmemoryleak.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkmemoryleak.h Improve constness 2018-04-04 21:51:31 +02:00
checknullpointer.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checknullpointer.h Remove whole program analysis from 'uninitialized variables' and 'null pointer dereference' checkers. I think this logic can more or less be added in ValueFlow instead and then all ValueFlow checkers should get whole program analysis. 2018-02-06 14:56:17 +01:00
checkother.cpp Avoiding emplace 2018-04-14 19:24:35 +02:00
checkother.h Find duplicate expressions assigned to the same variable (#1129) 2018-04-08 14:43:19 +02:00
checkpostfixoperator.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkpostfixoperator.h Updated copyright year 2018-03-31 20:59:09 +02:00
checksizeof.cpp Improve constness 2018-04-04 21:51:31 +02:00
checksizeof.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkstl.cpp Avoiding emplace 2018-04-14 19:24:35 +02:00
checkstl.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkstring.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkstring.h Updated copyright year 2018-03-31 20:59:09 +02:00
checktype.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checktype.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkuninitvar.cpp Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
checkuninitvar.h Updated copyright year 2018-03-31 20:59:09 +02:00
checkunusedfunctions.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
checkunusedfunctions.h Fix testrunner in cygwin 2018-02-10 15:34:49 +01:00
checkunusedvar.cpp Avoiding emplace 2018-04-14 19:24:35 +02:00
checkunusedvar.h Updated copyright year 2018-01-14 15:37:52 +01:00
checkvaarg.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
checkvaarg.h Updated copyright year 2018-01-14 15:37:52 +01:00
config.h
cppcheck.cpp Refactorization: pass std::string directly to std::*fstream 2018-04-11 09:50:42 +02:00
cppcheck.h Refactor f487182 2018-02-06 08:59:36 +01:00
cppcheck.natvis Added cppcheck.natvis file for human readable debug information in Visual Studio. 2017-01-22 10:21:29 +01:00
cppcheck.vcxproj Copy platforms/ directory to bin/ 2018-02-27 09:09:12 +01:00
cppcheck.vcxproj.filters Fixed travis build by replacing Token::Match by simpleMatch() 2017-03-16 21:15:10 +01:00
errorlogger.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
errorlogger.h Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
importproject.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
importproject.h Updated copyright year 2018-01-14 15:37:52 +01:00
lib.pri Added --cppcheck-build-dir flag 2016-10-29 12:18:11 +02:00
library.cpp Check for double frees when using smart pointers (#1172) 2018-04-16 11:11:13 +02:00
library.h Improve constness 2018-04-04 21:51:31 +02:00
matchcompiler.h
mathlib.cpp Improve constness 2018-04-04 21:51:31 +02:00
mathlib.h Updated copyright year 2018-01-14 15:37:52 +01:00
path.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
path.h Updated copyright year 2018-01-14 15:37:52 +01:00
pathmatch.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
pathmatch.h Updated copyright year 2018-01-14 15:37:52 +01:00
pcrerules.pri
platform.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
platform.h Updated copyright year 2018-03-31 20:59:09 +02:00
preprocessor.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
preprocessor.h Updated copyright year 2018-01-14 15:37:52 +01:00
settings.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
settings.h Updated copyright year 2018-01-14 15:37:52 +01:00
standards.h Updated copyright year 2018-01-14 15:37:52 +01:00
suppressions.cpp Suppressions: Validate inline suppressions 2018-04-11 08:18:00 +02:00
suppressions.h Fix warning emitted by clang. (#1173) 2018-04-15 20:40:24 +02:00
symboldatabase.cpp Dumps: Added isVirtual/isImplicitlyVirtual info 2018-04-13 21:15:43 +02:00
symboldatabase.h 4e820b6c4a 2018-04-14 15:46:55 +02:00
templatesimplifier.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
templatesimplifier.h Updated copyright year 2018-01-14 15:37:52 +01:00
timer.cpp Improve constness 2018-04-04 21:51:31 +02:00
timer.h Updated copyright year 2018-01-14 15:37:52 +01:00
token.cpp Replaced make_container by C++11 initializer lists 2018-04-08 23:03:44 +02:00
token.h Check more opposite conditions 2018-03-24 07:58:37 +01:00
tokenize.cpp Avoiding emplace 2018-04-14 19:24:35 +02:00
tokenize.h Thread safety: changed local static variable 'count' to member variable 2018-03-14 09:41:27 +01:00
tokenlist.cpp Fixed #8462 (AST: no ast created for 'e = { std::move(address),httpPort, (httpsPort) };') 2018-03-27 13:44:28 +02:00
tokenlist.h Updated copyright year 2018-01-14 15:37:52 +01:00
utils.h Replaced make_container by C++11 initializer lists 2018-04-08 23:03:44 +02:00
valueflow.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
valueflow.h Updated copyright year 2018-01-14 15:37:52 +01:00
version.h Set version to 1.83.99/1.84 dev 2018-04-02 15:21:37 +02:00
version.rc