cppcheck/test
chrchr-github 89a9e5ecc6
Fix #9944 FP: terminateStrncpy doesn't account for size check (#4252)
* Fix #9944 FP: terminateStrncpy doesn't account for size check

* Fix container size check

* Undo

* Format

* Rebuild

* Rebuild
2022-07-08 12:35:21 +02:00
..
bug-hunting Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
cfg wxwidgets.cfg: Fixed wrong configuration of wxRegEx::GetMatch(). 2022-07-02 09:24:22 +02:00
cli cppcheck build dir: do not produce invalid dump file if code is unchanged and checking is skipped. 2022-06-12 11:08:28 +02:00
synthetic Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
testsuites Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
CMakeLists.txt Use the correct test name for SKIP_TESTS (#4221) 2022-06-19 19:26:49 +02:00
options.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
options.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
precompiled.h Update Copyright year 2021-03-21 20:58:32 +01:00
redirect.h Update copyright year 2021-09-26 11:34:56 +02:00
test.cxx
test64bit.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testassert.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testastutils.cpp Fix #9997 False negative: variable is not used (#4104) 2022-06-07 21:20:33 +02:00
testautovariables.cpp Fix 11087: false negative: usage of reference to member of temporary object not detected (#4217) 2022-06-16 19:26:36 +02:00
testbool.cpp Fix #10655 FN bitwiseOnBoolean with unseen function (#4214) 2022-06-14 23:08:17 +02:00
testboost.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testbufferoverrun.cpp Fix #9944 FP: terminateStrncpy doesn't account for size check (#4252) 2022-07-08 12:35:21 +02:00
testcharvar.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testclangimport.cpp Fix ClangImport crash on Windows paths (#4246) 2022-07-02 17:43:52 +02:00
testclass.cpp Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
testcmdlineparser.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
testcondition.cpp Fix FP compareValueOutOfTypeRangeError (#4245) 2022-07-01 10:48:32 +02:00
testconstructors.cpp CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +02:00
testcppcheck.cpp Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testerrorlogger.cpp Cppcheck: Write product name if provided in xml output 2022-07-07 17:35:13 +02:00
testexceptionsafety.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testfilelister.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testfunctions.cpp Fix FP returnStdMoveLocal (#4244) 2022-06-30 13:50:31 +02:00
testgarbage.cpp Fix #10451 syntaxError with typedef and lambda (#3900) 2022-03-14 17:59:29 +01:00
testimportproject.cpp compile_commands.json: ensure that order of include paths are kept 2022-03-24 22:50:04 +01:00
testincompletestatement.cpp Fix #11157 FN: leakNoVarFunctionCall (switch condition) (#4240) 2022-06-28 14:02:02 +02:00
testinternal.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testio.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testleakautovar.cpp Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
testlibrary.cpp Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
testmathlib.cpp Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
testmemleak.cpp Fix FP leakNoVarFunctionCall (#4243) 2022-06-30 13:05:28 +02:00
testnullpointer.cpp Fix #11117 FP nullPointerArithmetic when adding 0 (#4167) 2022-06-03 13:11:54 +02:00
testoptions.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testother.cpp Fix #11148 Regression: Parameter \'ptr\' can be declared as pointer to const (#4233) 2022-06-25 21:42:55 +02:00
testpath.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testpathmatch.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testplatform.cpp Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +02:00
testpostfixoperator.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testpreprocessor.cpp added (partial) support for specifying C++23 and support more "-std" options (#3212) 2022-04-15 16:17:36 +02:00
testrunner.cpp Update copyright year 2022-02-05 11:45:17 +01:00
testrunner.vcxproj aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
testrunner.vcxproj.filters Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsimplifytemplate.cpp Fix #11146 Crash in expandTemplate() (#4238) 2022-06-28 22:43:34 +02:00
testsimplifytokens.cpp Tokenizer: Remove simplifyCalculations from simplifyTokenList2 2022-07-04 22:54:43 +02:00
testsimplifytypedef.cpp Fix 11006: FP uninitvar with unknown constant (#4056) 2022-04-28 10:48:37 +02:00
testsimplifyusing.cpp Fix #11090 Infinite recursion in findTypeInBase() (#4178) 2022-06-08 09:20:16 +02:00
testsizeof.cpp Fix #9648 FP sizeofDivisionMemfunc (#4017) 2022-04-13 18:21:56 +02:00
teststl.cpp Fix FP containerOutOfBounds with std::map (#4230) 2022-06-23 20:26:47 +02:00
teststring.cpp Added regression test for #8332. 2022-04-06 08:12:41 +02:00
testsuite.cpp Update copyright year 2022-05-21 12:18:27 +02:00
testsuite.h Remove bug hunting. This feature will be provided in Cppcheck premium. 2022-04-11 07:31:33 +02:00
testsummaries.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testsuppressions.cpp Fix unmatched suppression (#5704) (#3886) 2022-03-30 19:24:53 +02:00
testsymboldatabase.cpp Fix crash on nullptr deref (#4189) 2022-06-09 18:25:17 +02:00
testthreadexecutor.cpp cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
testtimer.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtoken.cpp Tokenizer: Remove simplifyCharAt from simplifyTokenList2 2022-06-12 15:14:48 +02:00
testtokenize.cpp Fix #11143 FP: unreadVariable (remove simplifyMathExpressions()) (#4227) 2022-06-21 15:42:23 +02:00
testtokenlist.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testtokenrange.cpp enabled functionConst and functionStatic in selfcheck (#3862) 2022-03-02 07:46:47 +01:00
testtype.cpp Add tests for # 10773, #108787, #8991 (#4063) 2022-04-30 08:20:00 +02:00
testuninitvar.cpp Adjust the severity of the uninitvar (#4234) 2022-06-28 22:52:35 +02:00
testunusedfunctions.cpp use std::string::empty() (#3910) 2022-04-09 19:02:37 +02:00
testunusedprivfunc.cpp Fix #10265 FP unused private method (#4015) 2022-04-13 14:49:28 +02:00
testunusedvar.cpp Fix #11143 FP: unreadVariable (remove simplifyMathExpressions()) (#4227) 2022-06-21 15:42:23 +02:00
testutils.cpp Update copyright year 2022-05-21 12:18:27 +02:00
testutils.h cleaned up includes based on include-what-you-use (#4007) 2022-04-13 12:24:00 +02:00
testvaarg.cpp removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
testvalueflow.cpp Fix 10570: Improve check; condition then pointer dereference, different pointers (#4216) 2022-06-16 19:26:23 +02:00
testvarid.cpp Improvement: Set varId for variables with global scope operator :: Refactorization: Moved internal class from tokenize.h to tokenize.cpp (#4184) 2022-06-11 08:11:16 +02:00