cppcheck/test
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
..
cfg std.cfg: Add std::make_pair() (#1165) 2018-04-11 19:16:55 +02:00
synthetic Improve Python code 2017-06-05 13:23:00 +02:00
CMakeLists.txt
options.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
options.h Updated copyright year 2018-01-14 15:37:52 +01:00
redirect.h Updated copyright year 2018-01-14 15:37:52 +01:00
test.cxx
test64bit.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testassert.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testastutils.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testautovariables.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testbool.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testboost.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testbufferoverrun.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testcharvar.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testclass.cpp virtualCallInConstructor: Clarify warning message 2018-04-04 13:04:40 +02:00
testcmdlineparser.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
testcondition.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testconstructors.cpp Improve check: Variable is not initialized in private constructor (C++11 or later) 2018-04-02 15:26:15 +02:00
testcppcheck.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testerrorlogger.cpp Refactorizations: 2018-04-11 09:44:35 +02:00
testexceptionsafety.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testfilelister.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testfiles.pri remove foreach emulator 2018-04-09 22:09:10 +02:00
testfunctions.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testgarbage.cpp SymbolDatabase: Throw InternalError if parsing fails 2018-04-02 13:14:48 +02:00
testimportproject.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testincompletestatement.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testinternal.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testio.cpp ValueType: Improved type handling of containers when [] operator is used 2018-04-06 22:26:35 +02:00
testleakautovar.cpp Check for double frees when using smart pointers (#1172) 2018-04-16 11:11:13 +02:00
testlibrary.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testmathlib.cpp fix some typos found by codespell. 2018-02-04 20:53:43 +01:00
testmemleak.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testnullpointer.cpp Fix #8482: Regression with valueflow (#1159) 2018-04-09 16:13:17 +02:00
testoptions.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testother.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testpath.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testpathmatch.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testpostfixoperator.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testpreprocessor.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testrunner.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testrunner.vcxproj also generate debug information when building for release. This makes (#1003) 2017-11-29 08:31:30 +01:00
testrunner.vcxproj.filters Support relative paths in Visual Studio projects properties (#995) 2017-11-11 11:13:18 +01:00
testsamples.cpp Refactorization: pass std::string directly to std::*fstream 2018-04-11 09:50:42 +02:00
testsimplifytemplate.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testsimplifytokens.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testsimplifytypedef.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testsizeof.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
teststl.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
teststring.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testsuite.cpp Fix sorting order for test fixtures to get consistent behaviour across different platforms (#1145) 2018-04-04 20:51:47 +02:00
testsuite.h Fix sorting order for test fixtures to get consistent behaviour across different platforms (#1145) 2018-04-04 20:51:47 +02:00
testsuppressions.cpp Suppressions: Validate inline suppressions 2018-04-11 08:18:00 +02:00
testsymboldatabase.cpp astyle formatting 2018-04-09 22:21:17 +02:00
testthreadexecutor.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testtimer.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testtoken.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testtokenize.cpp windows string macros: Handle _T, _TEXT and TEXT internally, add tests (#1163) 2018-04-12 08:52:31 +02:00
testtokenlist.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testtype.cpp Updated copyright year 2018-03-31 20:59:09 +02:00
testuninitvar.cpp 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
testunusedfunctions.cpp Taking care of operation overloading functions (#1108) 2018-03-12 10:25:30 +01:00
testunusedprivfunc.cpp Refactorization: Replace several push_back-sequences by initializer lists 2018-04-09 09:41:24 +02:00
testunusedvar.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testutils.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
testvaarg.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testvalueflow.cpp Fix #8482: Regression with valueflow (#1159) 2018-04-09 16:13:17 +02:00
testvarid.cpp Updated copyright year 2018-01-14 15:37:52 +01:00