cppcheck/lib
Sebastian c990d10ffa
Check for JSON error when parsing addon .json files + fixes (#2374)
* cppcheck.cpp: Check for JSON error when parsing addon .json files

This fixes that errors in JSON files given via `--addon=*.json` are
silently ignored and maybe only a part of the JSON file is used.
Now the error message which picojson can return is checked and a
corresponding error message is returned again by getAddonInfo().

* naming.json: Fix missing comma

* CLI: Fix naming violations detected by addon naming.py via naming.json

* Addon naming: Add argument for validating names of constants

* LIB: Rename functions/variables so they are valid, loosen naming rules

* GUI: Fix naming violations
2019-11-20 15:37:09 +01:00
..
CMakeLists.txt CMake: Find header in externals, e.g. externals/picojson.h 2019-04-22 18:52:02 +02:00
analyzerinfo.cpp Update Copyright 2019-06-29 07:49:14 +02:00
analyzerinfo.h
astutils.cpp Fixed crash in harfbuzz found by daca@home 2019-11-12 18:22:11 +01:00
astutils.h Fix issue 9404: False positive: Either the condition 'if(x)' is redundant or there is possible null pointer dereference: a->x (#2322) 2019-11-08 08:11:41 +01:00
check.cpp Updated copyright year 2019-09-01 11:49:43 +02:00
check.h deleted methods should be public (#2193) 2019-09-20 21:58:09 +02:00
check64bit.cpp
check64bit.h
checkassert.cpp
checkassert.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkautovariables.cpp Fix issue 9201: FP: returnDanglingLifetime on pointer to variable of static struct (#2303) 2019-11-05 07:10:32 +01:00
checkautovariables.h Extend lifetime checking to temporaries (#2242) 2019-10-08 09:28:39 +02:00
checkbool.cpp Fix false negatives in checkBitwiseOnBoolean (#2220) 2019-10-06 09:57:31 +02:00
checkbool.h Fix false negatives in checkBitwiseOnBoolean (#2220) 2019-10-06 09:57:31 +02:00
checkboost.cpp
checkboost.h
checkbufferoverrun.cpp Fixed #9113 (false positive: (error) Buffer is accessed out of bounds) 2019-11-10 16:42:48 +01:00
checkbufferoverrun.h Fix Cppcheck warnings 2019-06-15 13:01:45 +02:00
checkclass.cpp Remove 'unsafeClassDivZero' warning. The software verification will cover this better. 2019-11-10 16:49:34 +01:00
checkclass.h Remove 'unsafeClassDivZero' warning. The software verification will cover this better. 2019-11-10 16:49:34 +01:00
checkcondition.cpp Fixed #9285 (Misleading warning message) 2019-11-16 17:24:54 +01:00
checkcondition.h Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
checkexceptionsafety.cpp
checkexceptionsafety.h
checkfunctions.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkfunctions.h Replace 'unsigned' with 'nonneg' in checkfunctions 2019-07-16 08:49:02 +02:00
checkinternal.cpp
checkinternal.h
checkio.cpp Allow SSIZE_T in addition to ssize_t (#2263) 2019-10-24 21:51:20 +02:00
checkio.h replace 'unsigned' with 'nonneg' in checkio 2019-07-16 08:37:26 +02:00
checkleakautovar.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkleakautovar.h Fix #7031 (improve error message for memory related warnings) (#2204) 2019-09-22 21:50:02 +02:00
checkmemoryleak.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkmemoryleak.h Memleak: Refactor check to separate function (#2079) 2019-08-13 13:00:59 +02:00
checknullpointer.cpp Fix issue 9439: false positive: unique_ptr and nullPointerRedundantCheck (#2346) 2019-11-10 09:44:59 +01:00
checknullpointer.h
checkother.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkother.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkpostfixoperator.cpp
checkpostfixoperator.h
checksizeof.cpp Update Copyright 2019-06-29 07:49:14 +02:00
checksizeof.h
checkstl.cpp Refactor ProgramMemory and PathAnalysis (#2311) 2019-10-30 17:57:46 +01:00
checkstl.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
checkstring.cpp Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
checkstring.h
checktype.cpp Fix severity of c++14 shifts with too many bits (#2213) 2019-09-25 20:16:04 +02:00
checktype.h Clarify signConversion warning message 2019-08-05 12:41:08 +02:00
checkuninitvar.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
checkuninitvar.h Fix issue 9428: FP uninitvar for pointer passed to sscanf (#2344) 2019-11-13 12:46:54 +01:00
checkunusedfunctions.cpp Fixed #8580 (False positive: unused function (lambda)) 2019-04-27 17:17:51 +02:00
checkunusedfunctions.h Silence unused variable warning (#2223) 2019-09-27 08:19:45 +02:00
checkunusedvar.cpp CheckUnusedVar: Quick heuristic so we don't bailout for 'auto' variables 2019-11-17 15:44:57 +01:00
checkunusedvar.h
checkvaarg.cpp
checkvaarg.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
config.h sync (#1835) 2019-05-17 09:31:41 +02:00
cppcheck.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
cppcheck.h added missing OVERRIDE usage and removed redundant virtual (#2190) 2019-09-20 21:57:16 +02:00
cppcheck.natvis
cppcheck.vcxproj lib/cppcheck.vcxproj: Fix Visual Studio build, add new files. 2019-10-31 08:29:19 +01:00
cppcheck.vcxproj.filters cppcheck.vcxproj.filters: Also update this Visual Studio file 2019-10-31 09:05:58 +01:00
ctu.cpp Add impossible values to ValueFlow (#2186) 2019-09-20 15:06:37 +02:00
ctu.h CTU: Add 'column' 2019-09-12 10:46:33 +02:00
errorlogger.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
errorlogger.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
exprengine.cpp Fix Cppcheck warning 2019-10-27 18:22:47 +01:00
exprengine.h add override (#2305) 2019-10-29 20:06:40 +01:00
importproject.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
importproject.h astyle formatting 2019-08-12 12:54:25 +02:00
lib.pri Run dmake 2019-10-30 18:38:37 +01:00
library.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
library.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
matchcompiler.h
mathlib.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
mathlib.h
path.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
path.h
pathanalysis.cpp Refactor ProgramMemory and PathAnalysis (#2311) 2019-10-30 17:57:46 +01:00
pathanalysis.h Refactor ProgramMemory and PathAnalysis (#2311) 2019-10-30 17:57:46 +01:00
pathmatch.cpp
pathmatch.h
pcrerules.pri
platform.cpp use range loops / constness (#2181) 2019-09-19 20:29:33 +02:00
platform.h Updated copyright year 2019-09-01 11:49:43 +02:00
preprocessor.cpp Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
preprocessor.h
programmemory.cpp Fix issue 9395 and 9423: False positive: nullPointerRedundantCheck (#2323) 2019-11-04 07:02:25 +01:00
programmemory.h astyle formatting 2019-10-30 18:19:45 +01:00
settings.cpp Fixed #9464 (Import compile database; only check given configuration) 2019-11-09 17:51:42 +01:00
settings.h Fixed #9464 (Import compile database; only check given configuration) 2019-11-09 17:51:42 +01:00
standards.h Various clang-tidy fixes (#2192) 2019-09-25 15:25:19 +02:00
suppressions.cpp Fix Cppcheck warning: Suppressions::dump can be const 2019-06-29 07:53:32 +02:00
suppressions.h Fix Cppcheck warning: Suppressions::dump can be const 2019-06-29 07:53:32 +02:00
symboldatabase.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
symboldatabase.h Improved fix for #8978 (False positive: Variable assigned value that is never used when assigning via iterator) 2019-11-17 12:08:21 +01:00
templatesimplifier.cpp Fix #9483 (Assertion `tok && tok->str() == ">"' failed) (#2381) 2019-11-20 07:02:25 +01:00
templatesimplifier.h template simplifier: ignore friend templates (#2122) 2019-09-01 09:56:33 +02:00
timer.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +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 Token::ConcatStr(): Handle mixed string literals (#2337) 2019-11-08 08:03:45 +01:00
token.h Set correct type and size of string and char literals (#2275) 2019-10-20 07:11:57 +02:00
tokenize.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenize.h Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenlist.cpp Check for JSON error when parsing addon .json files + fixes (#2374) 2019-11-20 15:37:09 +01:00
tokenlist.h template simplifier: fix new daca crashes (#2093) 2019-08-17 07:38:07 +02:00
utils.h Keep prefix in string and char literals (#2272) 2019-10-16 11:41:33 +02:00
valueflow.cpp Fix issue 9437: Dont assume init list constructor for strings (#2366) 2019-11-17 03:22:04 +01:00
valueflow.h Refactor ProgramMemory and PathAnalysis (#2311) 2019-10-30 17:57:46 +01:00
version.h Set version to 1.89.99/1.90 dev 2019-09-02 15:44:40 +02:00
version.rc