cppcheck/lib
chrchr-github 06b408ea20
Fix FP leakNoVarFunctionCall with unknown function (#4242)
* Fix #10857 FN: leakNoVarFunctionCall

* Fix TODO

* Fix #10858 FN: leakNoVarFunctionCall (if ( b && malloc ) )

* #11155 FN: leakNoVarFunctionCall (ternary operator)

* Fix #11157 FN: leakNoVarFunctionCall (switch condition)

* Fix FN constStatement

* Fix FP leakNoVarFunctionCall

* Fix FP leakNoVarFunctionCall

* Format

* Fix FP leakNoVarFunctionCall with unknown function
2022-06-29 13:43:17 +02:00
..
CMakeLists.txt
analyzer.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
analyzerinfo.cpp
analyzerinfo.h
astutils.cpp Refactor alias check in isExpressionChangeAt into isAlias function (#4223) 2022-06-28 22:40:59 +02:00
astutils.h Refactor alias check in isExpressionChangeAt into isAlias function (#4223) 2022-06-28 22:40:59 +02:00
calculate.h Fix 11053: Integer division by zero in calculate.h (#4092) 2022-05-09 20:27:32 +02:00
check.cpp
check.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
check64bit.cpp
check64bit.h Update copyright year 2022-05-21 12:18:27 +02:00
checkassert.cpp
checkassert.h Update copyright year 2022-05-21 12:18:27 +02:00
checkautovariables.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkautovariables.h
checkbool.cpp Fix #10655 FN bitwiseOnBoolean with unseen function (#4214) 2022-06-14 23:08:17 +02:00
checkbool.h Update copyright year 2022-05-21 12:18:27 +02:00
checkboost.cpp
checkboost.h Update copyright year 2022-05-21 12:18:27 +02:00
checkbufferoverrun.cpp Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
checkbufferoverrun.h LCppC backport: Restored Check: Detect negative VLA and allocation (new[]) sizes (#4187) 2022-06-11 09:55:38 +02:00
checkclass.cpp CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +02:00
checkclass.h CheckClass: Fix false negatives for uninitMemberVar 2022-06-21 19:28:08 +02:00
checkcondition.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkcondition.h Fix #11082 FN badBitmaskCheck for binary or with 0 (#4170) 2022-06-04 17:25:10 +02:00
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp Fix FP with embedded zeros (#4226) 2022-06-21 13:33:45 +02:00
checkfunctions.h
checkinternal.cpp
checkinternal.h Update copyright year 2022-05-21 12:18:27 +02:00
checkio.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkio.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
checkleakautovar.cpp LCppC backport: Various optimizations (#4182) 2022-06-08 16:58:57 +02:00
checkleakautovar.h Fix #11126 FN: noExplicitConstructor with single default parameter (#4174) 2022-06-07 21:15:13 +02:00
checkmemoryleak.cpp Fix FP leakNoVarFunctionCall with unknown function (#4242) 2022-06-29 13:43:17 +02:00
checkmemoryleak.h
checknullpointer.cpp Fix #11117 FP nullPointerArithmetic when adding 0 (#4167) 2022-06-03 13:11:54 +02:00
checknullpointer.h
checkother.cpp Fix #11157 FN: leakNoVarFunctionCall (switch condition) (#4240) 2022-06-28 14:02:02 +02:00
checkother.h Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
checkpostfixoperator.cpp
checkpostfixoperator.h Update copyright year 2022-05-21 12:18:27 +02:00
checksizeof.cpp
checksizeof.h Update copyright year 2022-05-21 12:18:27 +02:00
checkstl.cpp Fix FP containerOutOfBounds with std::map (#4230) 2022-06-23 20:26:47 +02:00
checkstl.h
checkstring.cpp checkAlwaysTrueOrFalseStringCompare: Added '_mbscmp_l' to list of functions. 2022-05-25 13:35:39 +02:00
checkstring.h Update copyright year 2022-05-21 12:18:27 +02:00
checktype.cpp
checktype.h
checkuninitvar.cpp Adjust the severity of the uninitvar (#4234) 2022-06-28 22:52:35 +02:00
checkuninitvar.h Rename old uninitvar ID to use legacyUninitvar (#4043) 2022-04-27 17:37:37 +02:00
checkunusedfunctions.cpp
checkunusedfunctions.h
checkunusedvar.cpp Fix FP unusedVar with side effects in destructor (#4212) 2022-06-14 09:55:22 +02:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h Update copyright year 2022-05-21 12:18:27 +02:00
clangimport.cpp enabled and fixed `modernize-use-emplace` clang-tidy warnings (#4165) 2022-06-03 15:09:29 +02:00
clangimport.h
color.cpp
color.h
config.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
cppcheck.cpp 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
cppcheck.h
cppcheck.natvis
cppcheck.vcxproj aligned build options of Visual Studio project configurations and added them to CMake (#4020) 2022-04-21 21:28:29 +02:00
cppcheck.vcxproj.filters
ctu.cpp
ctu.h Fix #9391 False negative: Uninitialized struct member (default constructor) (#4088) 2022-05-09 20:28:21 +02:00
errorlogger.cpp
errorlogger.h
errortypes.cpp
errortypes.h
forwardanalyzer.cpp Fix unit test failure (#4218) 2022-06-17 07:49:45 +02:00
forwardanalyzer.h
importproject.cpp fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
importproject.h
infer.cpp
infer.h
lib.pri
library.cpp Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
library.h Replaced check for pipe() buffer size by ordinary CheckBufferOverrun, provide required Library configuration option (#4183) 2022-06-19 12:01:55 +02:00
matchcompiler.h
mathlib.cpp Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
mathlib.h Remove simplifyKnownVariables() (#4232) 2022-06-25 08:38:17 +02:00
path.cpp Update copyright year 2022-05-21 12:18:27 +02:00
path.h
pathanalysis.cpp
pathanalysis.h
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp Implemented error handling in cppcheck::Platform::loadFromXmlDocument(), enabled related unit test (#8409) (#4181) 2022-06-08 12:35:23 +02:00
platform.h Update copyright year 2022-05-21 12:18:27 +02:00
precompiled.h
preprocessor.cpp Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
preprocessor.h Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
programmemory.cpp Fix 11124: FP knownConditionTrueFalse with fruit (#4196) 2022-06-11 11:02:04 +02:00
programmemory.h
reverseanalyzer.cpp Fix #9861 FN: "static" not suggested for non-const method (#4101) 2022-05-11 20:01:22 +02:00
reverseanalyzer.h
settings.cpp
settings.h Fixed handling of PCRE rules, since 'simple' rules have been removed already, set default to 'normal'-tokenlist. 2022-06-20 09:17:11 +02:00
smallvector.h
sourcelocation.h Add backtrace to valueflow in debug mode (#4195) 2022-06-12 07:13:42 +02:00
standards.h
summaries.cpp
summaries.h
suppressions.cpp
suppressions.h fail `run-clang-tidy` in case of compiler warnings / fixed Clang warnings / cleanups (#4036) 2022-05-15 12:42:29 +02:00
symboldatabase.cpp Add debug_valuetype intrinsic (#4210) 2022-06-15 21:25:55 +02:00
symboldatabase.h Add debug_valuetype intrinsic (#4210) 2022-06-15 21:25:55 +02:00
templatesimplifier.cpp Fix #11146 Crash in expandTemplate() (#4238) 2022-06-28 22:43:34 +02:00
templatesimplifier.h
timer.cpp
timer.h fixed `modernize-use-equals-delete` warnings in headers (#4177) 2022-06-07 21:25:23 +02:00
token.cpp Check tokType in match compiler (#4219) 2022-06-18 21:30:42 +02:00
token.h Add debug_valuetype intrinsic (#4210) 2022-06-15 21:25:55 +02:00
tokenize.cpp Tokenizer: Cleanup stuff in simplifyTokenList2 2022-06-25 17:09:51 +02:00
tokenize.h Tokenizer: Cleanup stuff in simplifyTokenList2 2022-06-25 17:09:51 +02:00
tokenlist.cpp Check tokType in match compiler (#4219) 2022-06-18 21:30:42 +02:00
tokenlist.h Refactorization: Faster calculation of CRC32 by avoiding to create a temporary string. Use proper types in checksum functions. (#4180) 2022-06-08 16:55:06 +02:00
tokenrange.h
utils.cpp
utils.h
valueflow.cpp Refactor to use AST for isContainerSizeChanged (#4222) 2022-06-19 08:17:05 +02:00
valueflow.h Add backtrace to valueflow in debug mode (#4195) 2022-06-12 07:13:42 +02:00
valueptr.h
version.h
version.rc