cppcheck/test
Rikard Falkeborn 0bb98aeef9 Fix 9577 (endless recursion in Valueflow::bifurcate()) (#2492)
Ensure bifurcate() does not recurse endlessly where a variable is
initialized recursively, or a variable is initialized as x(0) or x{0}
followed by a recursive assignment (for example int x(0); x = x / 1;).

The first case is solved by bailing out if there initialization is done
using x(0) or x{0}, the second by adding a missing depth argument to a
recursive call.
2020-01-17 03:17:26 +01:00
..
bug-hunting Rename test cases, 'verification' was renamed to 'bug hunting' 2020-01-15 21:11:04 +01:00
cfg googletest.cfg; add MATCHER (#2485) 2020-01-12 08:11:58 +01:00
cli Check selected files from project (#2378) 2020-01-10 08:57:37 +01:00
synthetic Improve Python code 2017-06-05 13:23:00 +02:00
testsuites Rename test cases, 'verification' was renamed to 'bug hunting' 2020-01-15 21:11:04 +01:00
CMakeLists.txt Fix 9298 (#2476) 2020-01-09 08:47:36 +01:00
options.cpp Update Copyright 2019-06-29 07:49:14 +02:00
options.h Update Copyright 2019-06-29 07:49:14 +02:00
redirect.h Updated copyright year 2018-01-14 15:37:52 +01:00
test.cxx
test64bit.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testassert.cpp Moved CheckAssert::assertWithSideEffects to normal checking 2019-03-09 16:50:50 +01:00
testastutils.cpp Improve test coverage for testing AST 2019-11-28 18:11:55 +03:00
testautovariables.cpp Fix issue 9482: False positive: Reference to temporary returned using trailing return type (#2413) 2019-12-01 15:10:02 +01:00
testbool.cpp Fixed #9405 (false positive: (style, inconclusive) Boolean expression 'dqOpen' is used in bitwise operation. Did you mean '&&') 2019-12-20 19:38:30 +01:00
testboost.cpp CheckBoost: Use 'normal' checking 2019-03-09 20:00:31 +01:00
testbufferoverrun.cpp Fix issue 9554: False positive: The address of local variable 'x' is accessed at non-zero index. (#2470) 2020-01-04 11:39:52 +01:00
testcharvar.cpp Remove test case, ValueFlow will truncate and sign-extend values 2019-05-01 19:33:47 +02:00
testclangimport.cpp Clang import; fix wrong 'sizeof' import 2020-01-17 03:15:08 +01:00
testclass.cpp Removing check hidingInheritedPublic (#2482) 2020-01-09 06:53:08 +01:00
testcmdlineparser.cpp Convert SHOWTIME_MODES to enum class 2019-07-31 22:35:51 +02:00
testcondition.cpp Fix issue 9541: false negative: knownConditionTrueFalse (#2473) 2020-01-05 16:25:33 +01:00
testconstructors.cpp Revert "#9391 Detecting uninited member variables with default ctor (#2249)" 2019-10-09 08:17:47 +02:00
testcppcheck.cpp Verification; Updated report 2019-12-27 19:05:22 +01:00
testerrorlogger.cpp errorlogger.cpp: Handle empty file-name like "*" (unmatchedSuppression) (#2440) 2019-12-11 09:07:18 +01:00
testexceptionsafety.cpp Use 'normal' checking instead of 'simplified' 2019-03-16 07:19:48 +01:00
testexprengine.cpp ExprEngine: sizeof() 2020-01-15 15:24:36 +01:00
testfilelister.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testfunctions.cpp Improve test coverage for invalid use of bool parameters 2019-11-22 18:11:38 +03:00
testgarbage.cpp Fix #8758 (add syntax error for invalid code) (#2466) 2020-01-01 15:46:09 +01:00
testimportproject.cpp testrunner: Fix assertion error 2019-08-17 15:12:49 +02:00
testincompletestatement.cpp Fixed #9335 (FP constStatement "Found a statement that begins with string constant") 2019-11-28 17:49:33 +01:00
testinternal.cpp fix #8965 ("(debug) Executable scope 'x' with unknown function." with rvalue parameter in method) (#2237) 2019-10-04 12:30:11 +02:00
testio.cpp Improve test coverage for %jd used with scanf() 2019-11-20 18:10:56 +03:00
testleakautovar.cpp Fix 9298 (#2476) 2020-01-09 08:47:36 +01:00
testlibrary.cpp Fix issue 9428: FP uninitvar for pointer passed to sscanf (#2344) 2019-11-13 12:46:54 +01:00
testmathlib.cpp Mathlib: Fix value of suffixed binary integer literal (#2487) 2020-01-12 08:11:12 +01:00
testmemleak.cpp Avoid some additional memleakOnRealloc false positives (#2422) 2019-12-04 12:13:44 +01:00
testnullpointer.cpp Astyle formatting [ci skip] 2020-01-05 17:00:34 +01:00
testoptions.cpp Allow multiple test case arguments to testrunner (#1755) 2019-03-26 20:28:40 +01:00
testother.cpp astyle formatting 2020-01-10 11:31:12 +01:00
testpath.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpathmatch.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testplatform.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testpostfixoperator.cpp Valid code for incrementing raw pointer (#2418) 2019-12-03 18:33:05 +01:00
testpreprocessor.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
testrunner.cpp Update Copyright 2019-06-29 07:49:14 +02:00
testrunner.vcxproj Windows testrunner: Add testexprengine.cpp (#2184) 2019-09-19 19:40:00 +02:00
testrunner.vcxproj.filters Windows testrunner: Add testexprengine.cpp (#2184) 2019-09-19 19:40:00 +02:00
testsamples.cpp Remove unneeded string copy 2019-11-19 10:19:13 +03:00
testsimplifytemplate.cpp fix #9539 (Syntax error for valid C++14 code) (#2446) 2019-12-12 20:50:20 +01:00
testsimplifytokens.cpp Token::ConcatStr(): Handle mixed string literals (#2337) 2019-11-08 08:03:45 +01:00
testsimplifytypedef.cpp Fix #9446 (Syntax error on valid C++ code) (#2316) 2019-11-01 09:11:29 +01:00
testsimplifyusing.cpp Fix 9518 (Syntax error on valid C++) (#2424) 2019-12-05 20:51:36 +01:00
testsizeof.cpp Improve test coverage 2019-11-01 18:41:10 +03:00
teststl.cpp Fix 9546: properly check that the bound is the size (#2475) 2020-01-05 16:24:25 +01:00
teststring.cpp Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
testsuite.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
testsuite.h Verification; Updated report 2019-12-27 19:05:22 +01:00
testsuppressions.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
testsymboldatabase.cpp Fixed #7159 (wrong handling of function parameters) 2019-12-31 18:26:12 +03:00
testthreadexecutor.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtimer.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtoken.cpp Token::ConcatStr(): Handle mixed string literals (#2337) 2019-11-08 08:03:45 +01:00
testtokenize.cpp Fix issue 9563: new daca crash: findLambdaEndToken not finding end token (#2472) 2020-01-04 10:45:24 +01:00
testtokenlist.cpp Update copyright year 2019-02-09 07:24:06 +01:00
testtype.cpp Fix severity of c++14 shifts with too many bits (#2213) 2019-09-25 20:16:04 +02:00
testuninitvar.cpp Fixed #8998 (False positive uninitStructMember related to reference to member) 2019-12-19 20:18:32 +01:00
testunusedfunctions.cpp TestSuite: The ASSERT and ASSERT_EQUALS will now stop executing the test case upon failure. This can be used to avoid extra guard logic in tests. 2019-09-16 06:34:45 +02:00
testunusedprivfunc.cpp Run more tests on full token list (#2020) 2019-07-22 10:26:55 +02:00
testunusedvar.cpp Fixed #8990 (False positive: struct member not used (union)) 2019-12-20 18:31:55 +01:00
testutils.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
testvaarg.cpp Disable all simplified checks 2019-03-16 09:17:50 +01:00
testvalueflow.cpp Fix 9577 (endless recursion in Valueflow::bifurcate()) (#2492) 2020-01-17 03:17:26 +01:00
testvarid.cpp Fix #9383 ("debug: Function::addArguments found argument 'x' with varid 0." with variadic templates) (#2238) 2019-10-06 12:45:42 +02:00