cppcheck/lib
PKEuS 29a6031cea Fixed more false negatives (and recently introduced false positives) literalWithCharPtrCompare by using ValueType
Merged from LCppC.
2021-02-20 13:29:59 +01:00
..
CMakeLists.txt lib: Add condition for include externals/tinyxml2 (#2923) 2020-11-27 09:57:12 +01:00
analyzer.h Fix issue 10120: FP: containerOutOfBounds, regression (#3064) 2021-01-21 19:50:57 +01:00
analyzerinfo.cpp Tweaks to use summaries in GUI 2020-12-19 20:46:00 +01:00
analyzerinfo.h Tweaks to use summaries in GUI 2020-12-19 20:46:00 +01:00
astutils.cpp astyle formatting 2021-02-10 11:42:00 +01:00
astutils.h Fix issue 10141: Errors with ref assignment (duplicateValueTenary and knownEmptyContainer) (#3093) 2021-02-09 15:27:46 +01:00
bughuntingchecks.cpp library: Refactor to use enum class (#3026) 2021-01-08 10:29:01 +01:00
bughuntingchecks.h Add 'bughuntingchecks' 2020-06-19 13:16:48 +02:00
check.cpp Skip calculateWarningHash if we are not in bugHunting (#3047) 2021-01-13 18:38:00 +01:00
check.h daca: update WRONG_DATA interface 2020-10-03 15:36:02 +02:00
check64bit.cpp Update copyright year 2020-06-13 16:37:12 +02:00
check64bit.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkassert.cpp Fix crash in cbmc detected with daca@home 2020-09-24 20:48:26 +02:00
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp Refactorization: Removed unused functions 2021-02-17 22:44:03 +01:00
checkautovariables.h Fixed #9918 (False positive: autoVariable pointer is NULLed later) 2020-09-28 22:48:57 +02:00
checkbool.cpp Refactoring; Added findBreakScope and Scope::isLoopScope() 2020-12-24 22:58:31 +01:00
checkbool.h Update Copyright year 2020-10-03 09:15:56 +02:00
checkboost.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checkboost.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkbufferoverrun.cpp Fix gcc warning; variable vidx is assigned but not read 2021-01-16 18:13:06 +01:00
checkbufferoverrun.h some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
checkclass.cpp fix crash in checkclass from unknown template valueType (#3129) 2021-02-13 13:41:12 +01:00
checkclass.h One definition rule; avoid false positives when location is same 2021-02-10 11:44:05 +01:00
checkcondition.cpp Reapply f1cc3ad and fix performance regression (#3076) 2021-01-23 08:47:39 +01:00
checkcondition.h Removed integerOverflowOptimization checking and merged functionality into invalidTestForOverflow 2021-01-05 11:38:19 +01:00
checkexceptionsafety.cpp Update Copyright year 2020-10-03 09:15:56 +02:00
checkexceptionsafety.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checkfunctions.cpp CheckFunctions::checkIgnoredReturnValue: Fixed unwanted DacaWrongData messages 2021-01-23 18:19:51 +01:00
checkfunctions.h library: Add new warning: ignoredReturnErrorCode (#2877) 2020-11-05 13:35:52 +01:00
checkinternal.cpp fixed some modernize-loop-convert clang-tidy warnings (#2815) 2020-09-21 19:30:47 +02:00
checkinternal.h Update copyright year 2020-05-10 11:16:32 +02:00
checkio.cpp Refactor: Use enum class in checkio (#3112) 2021-02-05 08:17:57 +01:00
checkio.h Update copyright year 2020-06-13 16:37:12 +02:00
checkleakautovar.cpp Improve handling of realloc in memory leak checker (#3036) 2021-01-11 07:55:05 +01:00
checkleakautovar.h Improve handling of realloc in memory leak checker (#3036) 2021-01-11 07:55:05 +01:00
checkmemoryleak.cpp Use std::unordered_* containers for faster lookups (#3052) 2021-01-16 13:52:09 +01:00
checkmemoryleak.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
checknullpointer.cpp astyle formatting 2021-01-10 14:46:19 +01:00
checknullpointer.h Update copyright year 2020-06-13 16:37:12 +02:00
checkother.cpp fixed and enabled some more clang-tidy warnings (#3007) 2021-01-05 17:51:32 +01:00
checkother.h More fixing for #9914. New warning id and warning message when variable expression is explicitly hidden. 2020-09-26 13:49:47 +02:00
checkpostfixoperator.cpp Update copyright year 2020-06-13 16:37:12 +02:00
checkpostfixoperator.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checksizeof.cpp remove cleanupAfterSimplify from the template simplifier (#2998) 2020-12-31 09:33:23 +01:00
checksizeof.h Disable all simplified checks 2019-03-16 09:17:50 +01:00
checkstl.cpp Refactorized CheckStl::string_c_str(), fixing some false negatives by supporting member functions and overloads 2021-02-20 12:52:39 +01:00
checkstl.h Improve check: check for known empty containers passed to algorithms (#2768) 2020-09-02 07:11:23 +02:00
checkstring.cpp Fixed more false negatives (and recently introduced false positives) literalWithCharPtrCompare by using ValueType 2021-02-20 13:29:59 +01:00
checkstring.h Checkstring fixes (#1783) 2019-04-06 06:54:38 +02:00
checktype.cpp Removed integerOverflowOptimization checking and merged functionality into invalidTestForOverflow 2021-01-05 11:38:19 +01:00
checktype.h Removed integerOverflowOptimization checking and merged functionality into invalidTestForOverflow 2021-01-05 11:38:19 +01:00
checkuninitvar.cpp use nonneg int for varid and exprid (#3085) 2021-01-27 19:49:13 +01:00
checkuninitvar.h use nonneg int for varid and exprid (#3085) 2021-01-27 19:49:13 +01:00
checkunusedfunctions.cpp Fix #9805 (False positive; Unused function (template)) (#2871) 2020-11-01 15:10:02 +01:00
checkunusedfunctions.h Silence unused variable warning (#2223) 2019-09-27 08:19:45 +02:00
checkunusedvar.cpp use nonneg int for varid and exprid (#3085) 2021-01-27 19:49:13 +01:00
checkunusedvar.h astyle formatting 2020-11-28 05:52:35 +01:00
checkvaarg.cpp Replace and fix findBreakScope with findNextTokenFromBreak 2020-12-25 08:43:14 +01:00
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
clangimport.cpp Try to fix Cppcheck self-check warnings 2021-01-28 12:36:31 +01:00
clangimport.h Clang import; Rename files/namespace 2020-01-10 16:29:06 +01:00
config.h fixed/aligned some compiler warnings (#3065) 2021-01-21 18:13:32 +01:00
cppcheck.cpp Bugfix: Apply --relative-paths also to preprocessor errors 2021-02-18 22:35:55 +01:00
cppcheck.h Fixed #9867 (No dump file is generated (clang)) 2021-02-06 19:06:05 +01:00
cppcheck.natvis
cppcheck.vcxproj Visual Studio: Added missing file 2021-02-17 21:52:31 +01:00
cppcheck.vcxproj.filters Visual Studio: Added missing file 2021-02-17 21:52:31 +01:00
ctu.cpp some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
ctu.h some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
errorlogger.cpp refs issue #9089: avoid usage of expensive std::stringstream (#2996) 2021-01-16 19:03:28 +01:00
errorlogger.h Skip calculateWarningHash if we are not in bugHunting (#3047) 2021-01-13 18:38:00 +01:00
errortypes.cpp astyle formatting 2020-05-23 07:30:22 +02:00
errortypes.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
exprengine.cpp Skip calculateWarningHash if we are not in bugHunting (#3047) 2021-01-13 18:38:00 +01:00
exprengine.h ExprEngine: Add condition branches for the while loops (#2970) 2020-12-22 20:21:57 +01:00
forwardanalyzer.cpp Fix issue 10166: FP uninitvar with break from infinite loop (#3124) 2021-02-11 08:07:12 +01:00
forwardanalyzer.h astyle formatting 2020-11-11 09:17:54 +01:00
importproject.cpp Fixed #10149 (compile database; incomplete handling of directory and file) 2021-01-31 10:14:22 +01:00
importproject.h ImportProject: Try to handle -D and -I in the same way 2020-12-25 11:51:24 +01:00
lib.pri Summaries: Moved to its own files 2020-12-20 19:53:58 +01:00
library.cpp some minor optimizations (#3057) 2021-01-28 22:18:17 +01:00
library.h some minor optimizations (#3057) 2021-01-28 22:18:17 +01:00
matchcompiler.h
mathlib.cpp some MathLib adjustments for out-of-range numbers after std::stringstream removal (#3100) 2021-02-13 19:10:45 +01:00
mathlib.h fix #10061 (debug: Executable scope 'x' with unknown function.) (#3062) 2021-01-18 19:01:04 +01:00
path.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
path.h fixed and enabled -Wdocumentation and -Wdocumentation-pedantic clang warnings (#2819) 2020-12-27 09:15:59 +01:00
pathanalysis.cpp Refactorization: Moved code from header to source 2020-05-19 08:35:12 +02:00
pathanalysis.h made check.h less heavy (#2633) 2020-05-23 07:16:49 +02:00
pathmatch.cpp Update Copyright year 2020-10-03 09:15:56 +02:00
pathmatch.h
pcrerules.pri
platform.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
platform.h Update copyright year 2020-05-10 11:16:32 +02:00
precompiled.h Visual Studio: Use new files precompiled.h with several common includes for core and testrunner. 2020-05-29 12:16:04 +02:00
preprocessor.cpp Bugfix: Apply --relative-paths also to preprocessor errors 2021-02-18 22:35:55 +01:00
preprocessor.h Update Copyright year 2020-10-03 09:15:56 +02:00
programmemory.cpp astyle formatting 2021-02-10 11:42:00 +01:00
programmemory.h Fix issue 10134: False positive: value is not known. Early return. (#3086) 2021-01-28 12:37:56 +01:00
reverseanalyzer.cpp Fix issue 10178: FP: nullPointerRedundantCheck with ternary and null condition first (#3134) 2021-02-17 12:09:11 +01:00
reverseanalyzer.h Fix issue 8143: valueFlowCondition: before and inside while (#3045) 2021-01-23 17:52:01 +01:00
settings.cpp ExprEngine; Use 60s as default maxtime processing a function, the analysis time will be somewhat reasonable 2020-12-22 21:09:24 +01:00
settings.h Summaries: Moved to its own files 2020-12-20 19:53:58 +01:00
standards.h Update Copyright year 2020-10-03 09:15:56 +02:00
summaries.cpp Summaries: Moved to its own files 2020-12-20 19:53:58 +01:00
summaries.h Visual Studio; Try to fix compilation 2020-12-20 21:01:45 +01:00
suppressions.cpp Fix CodeQL warning, Multiplication result converted to larger type 2020-11-06 19:50:05 +01:00
suppressions.h Fix CodeQL warning, Multiplication result converted to larger type 2020-11-06 19:50:05 +01:00
symboldatabase.cpp Fixed false positive: Parameter can be declared with const in constructors did handle noexcept 2021-02-19 08:21:26 +01:00
symboldatabase.h Fixed msvc compilation error by implementing Variable::operator= 2021-01-28 13:46:15 +01:00
templatesimplifier.cpp fix location of forward declaration of specialized template (#3031) 2021-01-09 20:00:35 +01:00
templatesimplifier.h remove cleanupAfterSimplify from the template simplifier (#2998) 2020-12-31 09:33:23 +01:00
timer.cpp fixed and enabled some more clang-tidy warnings (#3007) 2021-01-05 17:51:32 +01:00
timer.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
token.cpp Refactorization: Use std::string::pop_back 2021-02-17 22:39:29 +01:00
token.h use nonneg int for varid and exprid (#3085) 2021-01-27 19:49:13 +01:00
tokenize.cpp minor simplifyUsing optimizations 2021-02-19 22:48:31 +01:00
tokenize.h some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
tokenlist.cpp some self-check suppression cleanups (#3032) 2021-01-09 20:32:38 +01:00
tokenlist.h Use std::unordered_* containers for faster lookups (#3052) 2021-01-16 13:52:09 +01:00
utils.cpp Refactorization: Moved code from header to source 2020-05-19 08:35:12 +02:00
utils.h astyle formatting 2021-01-12 21:28:56 +01:00
valueflow.cpp Refactorization: Removed unused functions 2021-02-17 22:44:03 +01:00
valueflow.h Infer variables from conditions in valueFlowSubfunction (#3037) 2021-01-11 08:00:13 +01:00
valueptr.h Update copyright year 2020-05-10 11:16:32 +02:00
version.h 2.3: Update version 2020-12-05 10:00:02 +01:00
version.rc