cppcheck/lib
José Martins c8211ec6f6
Fix check for misra addon in executeAddons. (#3819)
In the CppCheck::executeAddons function, a check that specifically tests
for the misra add-on, was not taking into account the cases when the
addon is identified with the '.py' extension or indirectly via json.
This resulted in the add-on not being executed a second time which is
needed to detected some of the misra violations. By using the AddonInfo
class name field, the addon name is uniformized for all these cases and
the add-on executed a second time.

Signed-off-by: Jose Martins <josemartins90@gmail.com>
2022-02-13 11:58:42 +01:00
..
CMakeLists.txt use target-specific configuration instead of global ones in CMake (#3534) 2021-10-30 09:08:07 +02:00
analyzer.h Update copyright year 2022-02-05 11:45:17 +01:00
analyzerinfo.cpp Update copyright year 2022-02-05 11:45:17 +01:00
analyzerinfo.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
astutils.cpp Partial fix for #9407 FN redundant assignment/unreadVariable (#3651) 2022-02-12 15:32:08 +01:00
astutils.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
bughuntingchecks.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
bughuntingchecks.h Update copyright year 2022-02-05 11:45:17 +01:00
calculate.h Update copyright year 2022-02-05 11:45:17 +01:00
check.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
check64bit.cpp Update copyright year 2022-02-05 11:45:17 +01:00
check64bit.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkassert.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkassert.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkautovariables.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkautovariables.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbool.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkbool.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkboost.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkboost.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkbufferoverrun.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkbufferoverrun.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkclass.cpp 10671 fix const iterator function const take two (#3802) 2022-02-11 21:23:23 +01:00
checkclass.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkcondition.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkcondition.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkexceptionsafety.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkexceptionsafety.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkfunctions.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkfunctions.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkinternal.cpp Update copyright year 2021-09-26 11:34:56 +02:00
checkinternal.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkio.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkio.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkleakautovar.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkleakautovar.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkmemoryleak.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkmemoryleak.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checknullpointer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checknullpointer.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkother.cpp Revert "constPointer: Fix false positives when pointer is not read" 2022-02-13 08:40:45 +01:00
checkother.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkpostfixoperator.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkpostfixoperator.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checksizeof.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checksizeof.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkstl.cpp checkstl.cpp: removed unused global containers and made a std::string a literal so it can be matchcompiled (#3801) 2022-02-08 09:02:59 +01:00
checkstl.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkstring.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkstring.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checktype.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checktype.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkuninitvar.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkuninitvar.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
checkunusedfunctions.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkunusedfunctions.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkunusedvar.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkunusedvar.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
checkvaarg.cpp Update copyright year 2022-02-05 11:45:17 +01:00
checkvaarg.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
clangimport.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
clangimport.h Update copyright year 2022-02-05 11:45:17 +01:00
color.cpp Update copyright year 2022-02-05 11:45:17 +01:00
color.h Fix MSVC build and some warnings (#3334) 2021-07-16 21:55:12 +02:00
config.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
cppcheck.cpp Fix check for misra addon in executeAddons. (#3819) 2022-02-13 11:58:42 +01:00
cppcheck.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
cppcheck.natvis
cppcheck.vcxproj MSVC: add missing files to project (#3500) 2021-10-11 19:01:49 +02:00
cppcheck.vcxproj.filters Fix MSVC build (#3671) 2022-01-04 15:38:37 +01:00
ctu.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
ctu.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
errorlogger.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
errorlogger.h Update copyright year 2022-02-05 11:45:17 +01:00
errortypes.cpp Update copyright year 2022-02-05 11:45:17 +01:00
errortypes.h Update copyright year 2022-02-05 11:45:17 +01:00
exprengine.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
exprengine.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
forwardanalyzer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
forwardanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
importproject.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
importproject.h Update copyright year 2022-02-05 11:45:17 +01:00
infer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
infer.h Update copyright year 2022-02-05 11:45:17 +01:00
lib.pri Refactor: Use interval analysis for symbolic values for inferCondtion (#3488) 2021-10-09 16:19:06 +02:00
library.cpp Update copyright year 2022-02-05 11:45:17 +01:00
library.h Update copyright year 2022-02-05 11:45:17 +01:00
matchcompiler.h Update copyright year 2021-09-26 11:34:56 +02:00
mathlib.cpp Update copyright year 2022-02-05 11:45:17 +01:00
mathlib.h Update copyright year 2022-02-05 11:45:17 +01:00
path.cpp feat: add support for .ipp and .ixx extensions (#3383) 2021-08-09 10:46:56 +02:00
path.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
pathanalysis.cpp Update copyright year 2022-02-05 11:45:17 +01:00
pathanalysis.h Update copyright year 2022-02-05 11:45:17 +01:00
pathmatch.cpp Update copyright year 2022-02-05 11:45:17 +01:00
pathmatch.h Update copyright year 2022-02-05 11:45:17 +01:00
pcrerules.pri
platform.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
platform.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
precompiled.h Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.cpp Update copyright year 2022-02-05 11:45:17 +01:00
preprocessor.h Update copyright year 2022-02-05 11:45:17 +01:00
programmemory.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
programmemory.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
reverseanalyzer.cpp Update copyright year 2022-02-05 11:45:17 +01:00
reverseanalyzer.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
settings.cpp Update copyright year 2022-02-05 11:45:17 +01:00
settings.h removed some unused/unread member variables (and related code) found by CLion "Unused global declaration" inspection (#3808) 2022-02-07 15:34:34 +01:00
standards.h Update copyright year 2022-02-05 11:45:17 +01:00
summaries.cpp fixed and enabled performance-for-range-copy clang-tidy warning (#3682) 2022-02-12 08:20:45 +01:00
summaries.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
suppressions.cpp Update copyright year 2022-02-05 11:45:17 +01:00
suppressions.h Update copyright year 2022-02-05 11:45:17 +01:00
symboldatabase.cpp Fix #9092 FN missingOverride - subclass in namespace (#3793) 2022-02-12 08:19:07 +01:00
symboldatabase.h Fix #9092 FN missingOverride - subclass in namespace (#3793) 2022-02-12 08:19:07 +01:00
templatesimplifier.cpp small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
templatesimplifier.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
timer.cpp Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
timer.h removed OVERRIDE and FINAL defines and use the keywords directly (#3767) 2022-02-10 23:02:24 +01:00
token.cpp Fix 10800: Hang / memory exhaustion on numerical code (#3822) 2022-02-11 06:52:28 +01:00
token.h Fix #10527 FP variableScope for if with init-statement (#3811) 2022-02-08 16:12:09 +01:00
tokenize.cpp Tokenizer: Support C++20 default bit-field member initializer 2022-02-12 12:19:08 +01:00
tokenize.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
tokenlist.cpp Update copyright year 2022-02-05 11:45:17 +01:00
tokenlist.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
tokenrange.h Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
utils.cpp Update copyright year 2022-02-05 11:45:17 +01:00
utils.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
valueflow.cpp Fix 10800: Hang / memory exhaustion on numerical code (#3822) 2022-02-11 06:52:28 +01:00
valueflow.h small utils.h cleanup (#3821) 2022-02-11 19:44:08 +01:00
valueptr.h Update copyright year 2021-09-26 11:34:56 +02:00
version.h 2.7: Set versions 2022-02-05 12:17:54 +01:00
version.rc