cppcheck/test
IOBYTE 508e8c234b Fixed #8683 (Using deleted token with multiple template instantiations.) (#1353)
* Fixed #8683 (Using deleted token with multiple template instantiations.)

* Fixed #8321 (heap use after free: templatesimplifier)

* Add a flag to Token indicating that it has a pointer to it.

* Run dmake

* Fix one source of list pointers to deleted tokens.

Refactor TemplateSimplifier class to get access to template lists.
Remove many function parameters now that they are class variables.
Fix one source of list pointers to deleted tokens.
Add tests with no output to catch crashes.

* Run dmake again.

* Make 2 more functions private.

* Make requested changes.

* Missed one change request.

* Use TokenList rather than Tokenizer.

* Move TokenAndName constructor to cpp file so token.h is not needed in header file.
2018-09-01 11:26:10 +02:00
..
cfg bsd.cfg: Add arc4random* functions with tests. (#1344) 2018-08-16 21:37:40 +02:00
synthetic Improve Python code 2017-06-05 13:23:00 +02:00
CMakeLists.txt Fixed #7660 (cmake build does not handle simplecpp) 2016-08-06 18:21:54 +02:00
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 test: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-17 13:51:40 +02:00
test64bit.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testassert.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testastutils.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testautovariables.cpp Fixed #8691 (False negative for uselessAssignmentArg) 2018-08-17 19:56:36 +02:00
testbool.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testboost.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testbufferoverrun.cpp Fixed #8721 (Regression: False positive array index out of bounds) 2018-08-31 18:25:43 +02:00
testcharvar.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testclass.cpp Fixed #7790 (Wrong order of <location> XML-elements for error duplInheritedMember) 2018-08-19 14:13:58 +02:00
testcmdlineparser.cpp Fix testrunner 2018-08-05 14:01:24 +02:00
testcondition.cpp Temporarily disable followVariableExpressions(), there are problems that should be fixed. 2018-09-01 08:32:06 +02:00
testconstructors.cpp CheckClass: Restore a few warnings about member initialization of classes 2018-06-29 22:54:12 +02:00
testcppcheck.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testerrorlogger.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testexceptionsafety.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testfilelister.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testfiles.pri testrunner: Add testplatform to verify platform loading (#1176) 2018-04-18 16:12:35 +02:00
testfunctions.cpp Add checks of log2 and log1p range (#1324) 2018-08-03 12:14:39 +02:00
testgarbage.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testimportproject.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testincompletestatement.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testinternal.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testio.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testleakautovar.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testlibrary.cpp Rename Library::isargvalid() 2018-07-15 23:05:48 +02:00
testmathlib.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testmemleak.cpp Fix testrunner 2018-08-05 14:01:24 +02:00
testnullpointer.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testoptions.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testother.cpp Temporarily disable followVariableExpressions(), there are problems that should be fixed. 2018-09-01 08:32:06 +02:00
testpath.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testpathmatch.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testplatform.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testpostfixoperator.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
testpreprocessor.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testrunner.cpp Updated copyright year 2018-01-14 15:37:52 +01:00
testrunner.vcxproj Visual Studio: testrunner: Add missing testastutils (#1186) 2018-04-23 20:03:06 +02:00
testrunner.vcxproj.filters Visual Studio: testrunner: Add missing testastutils (#1186) 2018-04-23 20:03:06 +02:00
testsamples.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testsimplifytemplate.cpp Fixed #8683 (Using deleted token with multiple template instantiations.) (#1353) 2018-09-01 11:26:10 +02:00
testsimplifytokens.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testsimplifytypedef.cpp Allow syntax "typedef 'typename' unsigned 'typename' (functon_name)()" (#1334) 2018-08-16 14:30:28 +02:00
testsizeof.cpp Fix override warnings. (#1234) 2018-05-15 16:37:40 +02:00
teststl.cpp Diagnose mismatching iterators used together in operators (#1343) 2018-08-21 06:34:30 +02:00
teststring.cpp Fix wrong message 2018-08-12 08:01:15 +02:00
testsuite.cpp CheckStl: rewrite and refactor out of bounds checker 2018-08-11 11:40:48 +02:00
testsuite.h CheckStl: rewrite and refactor out of bounds checker 2018-08-11 11:40:48 +02:00
testsuppressions.cpp cppcheck.cpp: fix suppression of syntaxError (#1333) 2018-08-17 10:05:25 +02:00
testsymboldatabase.cpp Extend TestSymbolDatabase::findFunction19 to outline different results depending whether char is signed or unsigned on compile time 2018-06-28 22:16:18 +02:00
testthreadexecutor.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtimer.cpp Fix testrunner compiling 2018-06-16 22:28:14 +02:00
testtoken.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtokenize.cpp Ticket #8679: Add support for C++11 thread_local and GCC's (among others) __thread extension. (#1351) 2018-08-26 19:46:36 +02:00
testtokenlist.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testtype.cpp Fixed #8575 (false positive: longCastAssign) 2018-06-04 22:51:21 +02:00
testuninitvar.cpp Uninitalized variables: Fixed false positive 2018-08-15 18:04:36 +02:00
testunusedfunctions.cpp Fixed #8677 (False positive: unused method) 2018-08-08 11:31:35 +02:00
testunusedprivfunc.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testunusedvar.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testutils.h Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testvaarg.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00
testvalueflow.cpp Fixed #8708 (FP: Accessing an item in container that is empty) 2018-08-27 13:49:47 +02:00
testvarid.cpp Updated copyright year for modified files 2018-06-10 22:07:21 +02:00