Cppcheck Premium Known Issues

Generated: 2024-09-04

IdIssueMilestoneStatusSafety
addon #312autosar: false negative A0-4-4. isUncheckedArgumentValue.24.2.1Releasedmajor
addon #372Cert C++: Activate the Cert C checkers that are "compatible" according to the standard24.2.1Releasedmajor
addon #460False positive: misra c++ 0-1-4: variable in header24.2.1Releasedmajor
addon #462coverage.py: ensure the header output will work well in the compliance report24.2.1Releasedmajor
addon #477False positive: Misra C++ 2008 3-1-1: definition of static objects does not break ODR24.2.1Releasedmajor
addon #478False positive: Misra C++ 2008 0-1-4: warns about constexpr variables in headers24.2.1Releasedcosmetic
addon #479False positive: Misra C++ 2008 4-5-1: parameter declaration is not boolean expression24.2.1Releasedcosmetic
addon #480False negative: Misra C++ 2008 4-10-2: passing literal 0 to function pointer parameter24.2.1Releasedmajor
addon #482coverage.py: Fix Cppcheck ID for misra c rule 12.524.2.1Releasedcosmetic
addon #485Misra C++ 2008 6-2-3: invalid character in output24.2.1Releasedcosmetic
addon #487False positive: misra-c-2012 16.3: two consecutive cases24.2.1Releasedcosmetic
addon #489False positive: Misra C 13.4: assignment result used by ternary operator24.2.1Releasedcosmetic
addon #490New options to get all Misra C rule texts at once24.2.1Releasedcosmetic
addon #492misra c 21.2: reimplement checker, detect errno violations24.2.1Releasedmajor
addon #494false negative: misra c 21.24: calling rand() in global scope24.2.1Releasedmajor
addon #496False positive: misra c 13.2: array with pointers that point at volatile data24.2.1Releasedcosmetic
addon #498false negative: misra c 23.1: macro argument is not used as first _Generic argument24.2.1Releasedmajor
addon #502False negative: Misra C 13.2: reading and writing non-volatile variable24.2.1Releasedmajor
addon #510Coverage.py: double check ids24.2.1Releasedmajor
addon #512Refactoring: Move CtuMisraCpp code to CtuMisra because there are same/similar ctu checkers24.2.1Releasedcosmetic
compliance-report #15Add --suppressions option24.2.1Releasedcosmetic
compliance-report #16Cert C++: include Cert C rules included by chapter 1.5 in the Cert C++ spec24.2.1Releasedmajor
addon #363Implement Misra C++ 2023 checkers24.5.0Releasedcosmetic
addon #488False positive: misra c 17.3: function declared in block scope24.5.0Releasedcosmetic
addon #517Misra C++ 2008 6-4-2: False positive: simple if does not need else24.5.0Releasedcosmetic
addon #518Coverage.py: update Misra C cppcheck ids24.5.0Releasedmajor
addon #520CI started breaking last week fix it24.5.0Releasedcosmetic
addon #526False negative: Misra C 21.2: declaring reserved identifier in variable declaration24.5.0Releasedmajor
addon #528false positive: 16.3: unconditional scope in case24.5.0Releasedcosmetic
addon #531false negative: misra c 8.1: function return type and function argument24.5.0Releasedmajor
addon #533false positive: misra c 17.3: f3(int)24.5.0Releasedcosmetic
addon #535misra c 8.6: reuse checking for misra c++ 2008 3-2-424.5.0Releasedcosmetic
addon #537false negative: misra-c2012-8.724.5.0Releasedmajor
addon #539false negative: misra c 12.6: member in atomic struct24.5.0Releasedmajor
addon #541false negative: misra c 10.1: not operator24.5.0Releasedmajor
addon #543false negative: misra c 8.16: alignas (sizeof (long) - sizeof (int))24.5.0Releasedmajor
addon #545false negative: misra c 1.4: annex K24.5.0Releasedmajor
addon #547false negative: misra-c2012-8.824.5.0Releasedmajor
addon #549false negative: misra c 7.5: UINT16_C ( 0x10000 )24.5.0Releasedmajor
addon #551false positive: misra-c2012-8.1524.5.0Releasedmajor
addon #555false negative: misra-c2012-8.424.5.0Releasedmajor
addon #560ci: temporarily disable test for Misra C 23.4. Cppcheck does not handle code example well.24.5.0Releasedcosmetic
addon #563Performance: MISRA C 2023 12.3, exponential time24.5.0Releasedcosmetic
addon #565misra c 17.4: no return value specified in non-void function24.5.0Releasedcosmetic
addon #567false negative: misra-c2012-10.1 and 10.224.5.0Releasedcosmetic
addon #569false positive: misra c 17.3: function pointer24.5.0Releasedcosmetic
addon #573Formatting and cleanup24.5.0Releasedcosmetic
addon #574Misra C++ 2023 Improvements24.5.0Releasedmajor
addon #578Add Misra C++ 2023 to command line interface24.5.0Releasedmajor
addon #580Checker report: improve logChecker commands24.5.0Releasedcosmetic
addon #584Misra C++ 2023: Crash24.5.0Releasedcosmetic
addon #585Misra C++ 2023: Tag suppression is not working24.5.0Releasedcosmetic
addon #587Misra C++ 2023: Crash on for loop24.5.0Releasedcosmetic
addon #590CI improvements: Add clang-tidy24.5.0Releasedcosmetic
addon #592Coverage.py: Generate id mapping24.5.0Releasedcosmetic
addon #594Coverage.py: Add misra c++ 2023 output24.5.0Releasedcosmetic
addon #595CI: Update Cppcheck analysis, fix Cppcheck warnings24.5.0Releasedcosmetic
addon #597Misra C++ 2023: Test fix: Rule 17.8.124.5.0Releasedmajor
addon #600Cert checkers report, INT35-C and FLP36-C24.5.0Releasedcosmetic
addon #602coverage.py: check that all info is updated24.5.0Releasedcosmetic
addon #604Misra C++ 2023: Add existing rules from Misra C, AUTOSAR, Misra C++ 2008, CERT24.5.0Releasedmajor
addon #607Misra C++ 2023: CTU rules24.5.0Releasedmajor
addon #611False positive Misra C++ 2008 6-4-2; warns after simple if24.5.0Releasedcosmetic
addon #612False positive Cert EXP37-C; Do not require void parameter in c++ code24.5.0Releasedmajor
addon #615Extend perpetual license for Bern with another year24.5.0Releasedcosmetic
addon #617coverage.py: change "autovar" to "autoVariables"24.5.0Releasedcosmetic
addon #619Misra C++ 2023 5.7.2: Reuse Misra C++ 2008 2-7-2 and 2-7-324.5.0Releasedmajor
addon #621Add missing logChecker calls in CTU analysis24.5.0Releasedcosmetic
compliance-report #19Check that all checkers has been executed using the checkers report24.5.0Releasedmajor
compliance-report #20Generate compliance report from command line24.5.0Releasedmajor
compliance-report #21Add compliance report for Misra C++ 202324.5.0Releasedcosmetic
compliance-report #22Update tables using addon/coverage.py24.5.0Releasedcosmetic
compliance-report #28Adjust compliance-report to handle Cppcheck 2.14 output24.5.0Releasedmajor
addon #624Misra C 2023: Alignas changes24.5.1Releasedcosmetic
addon #629Replace unicode characters with ascii24.5.1Releasedcosmetic
addon #556False positive: Cert INT32-C : do not warn about pointers24.6.0Releasedcosmetic
addon #627loc license: display warning if path is not licensed24.6.0Releasedmajor
addon #628reuse misra c++ 2023 checkers in autosar24.6.0Releasedmajor
addon #632False positive: Cert err33 when result is not checked immediately24.6.0Releasedcosmetic
addon #633Refactoring: Sort functions in Cert C source code24.6.0Releasedcosmetic
addon #639false negative: misra c 7.4: "0123456789"[0] = \'*\'24.6.0Releasedmajor
addon #640false negative: misra c 8.15: Implement CTU analysis24.6.0Releasedmajor
addon #641misra c 5.x: Correct the "significant naming chars"24.6.0Releasedmajor
addon #642false negative: misra c 5.224.6.0Releasedmajor
addon #643false negative: misra c 10.6: i = ui16 << (get_bool(42) ? ui16 : ui16);24.6.0Releasedmajor
addon #644false negatives: misra C 10.3: return value, assignment, function calls24.6.0Releasedmajor
addon #645false positive: misra c 10.3: u8a = (uint16_t)2U + (uint16_t)3U24.6.0Releasedcosmetic
addon #647speedup clang-tidy, use all available cores24.6.0Releasedcosmetic
addon #650Refactoring; Create utility function that detects dangerous conversions of function pointers24.6.0Releasedcosmetic
addon #652Refactoring; reuse checking conversions integral to pointer24.6.0Releasedcosmetic
addon #654Refactoring; reuse checking conversions pointer to integral24.6.0Releasedmajor
addon #656Refactoring; Reuse checking conversions pointer to unrelated pointer type24.6.0Releasedmajor
addon #658Refactoring; Reuse checking conversions pointer loss of const/volatile/_Atomic24.6.0Releasedcosmetic
addon #660Refactoring: Reuse code that checks usage of pointers that point at incomplete type24.6.0Releasedcosmetic
addon #662Refactoring: Move conversion "util" functionality to util24.6.0Releasedcosmetic
addon #666False positive: err33-c warning, "example.remove(...)" function call is not the standard remove function24.6.0Releasedcosmetic
addon #669Cert C exp15: Do not place a semicolon on the same line as an if, for, or while statement24.6.0Releasedcosmetic
addon #679False positive Misra C++ 19.1.3 macro is defined by -D24.6.0Releasedcosmetic
addon #680Crash in Misra C 17.4 checker when there is incomplete C++ code24.6.0Releasedcosmetic
addon #683Crash Misra C++ 2023 15.1.2 incomplete code, no base class declaration24.6.0Releasedcosmetic
addon #689Loc license: warnings are not reported in headers because the checksum check depends on the rawtokens24.6.0Releasedmajor
addon #690Loc license: Add tests24.6.0Releasedcosmetic
addon #694False positive; Misra C++ 2008 8-5-3 . all members initialized, last token in enum body is comma24.6.0Releasedcosmetic
addon #698False positive: Misra C++ 2023: Rule 6.7.1: Constexpr fix24.6.0Releasedcosmetic
addon #701False positive, misra c++ 2023 19.3.3, warns about include guard when header is included several times24.6.0Releasedcosmetic
addon #461False positive: misra c++ 5-0-2: do not warn for */ when operator precedence does not matter.24.9.0Releasedmajor
addon #505Reuse Misra C++ 2008 rule 3-9-2 for Misra C Directive 4.624.9.0Releasedcosmetic
addon #649CI: clang-tidy action does not fail when there are clang-tidy warnings24.9.0Releasedcosmetic
addon #673Directive rework24.9.0Releasedcosmetic
addon #677Tweak test-misra-test.py script. Better output when cppcheck is non-premium24.9.0Releasedcosmetic
addon #686Misra C++ 2023 Improvements volume 224.9.0Releasedmajor
addon #695False positive: Misra C++ 2023: Rule 6.5.2: Constexpr fix24.9.0Releasedcosmetic
addon #703False positive: Misra C++ 2023: Rule 9.5.1: Add notes24.9.0Releasedcosmetic
addon #705False positive: misra c++ 2023 21.6.x: placement new24.9.0Releasedcosmetic
addon #706False positive: Misra C 13.5: pure/const function24.9.0Releasedcosmetic
addon #707False positive: Misra C++ 2023 19.3.3: reporting about LOG macro that does not have macro parameters24.9.0Releasedcosmetic
addon #708False positive: Misra C 2023 10.3: ternary operator \'float1 = float2 < float3 ? float2 : float3\'24.9.0Releasedcosmetic
addon #710False positive: Misra C++ 2023 0.2.1: scoped_lock variable24.9.0Releasedcosmetic
addon #711Implement Cert C recommendation EXP19-C: Use braces for the body of an if, for, or while statement24.9.0Releasedcosmetic
addon #713Implement Cert C recommendation EXP13-C: Treat relational and equality operators as if they were nonassociative24.9.0Releasedcosmetic
addon #715misra c 6.1: warn about signed long member24.9.0Releasedmajor
addon #717Implement Cert C recommendation EXP09-C: Use sizeof to determine the size of a type or variable.24.9.0Releasedcosmetic
addon #719Implement Cert C recommendation EXP05-C: Do not cast away a const qualification24.9.0Releasedcosmetic
addon #722Implement Cert C recommendation EXP03-C: Do not assume the size of a structure is the sum of the sizes of its members24.9.0Releasedcosmetic
addon #724False positive: Misra C++ 2023 0.1.2: function used in placement new24.9.0Releasedcosmetic
addon #725Clarify warning: Misra C++ 2023 15.0.2: what is wrong about the signature24.9.0Releasedcosmetic
addon #726Clarify warning: Misra C++ 2023 13.3.1: specify what the "appropriate" use is when virtual is used for overridden members24.9.0Releasedcosmetic
addon #731Clarify warning: Misra C++ 2023 15.0.1: what is wrong with the special member functions24.9.0Releasedcosmetic
addon #735False positive: Misra C++ 2023 7.0.2: warns about conversion to bool when argument is rvalue reference24.9.0Releasedcosmetic
addon #736False positive: Misra C++ 2023 6.9.2: main function exceptions24.9.0Releasedcosmetic
addon #737Clarify: Misra C++ 6.8.4: when ref-qualification for method is not appropriate describe problem and suggest solution24.9.0Releasedcosmetic
addon #742False positive: Misra C++ 2023 11.6.1: complains about std::ostringstream variable24.9.0Releasedcosmetic
addon #744False positive: Misra C++ 2023 7.0.2: When using not operator24.9.0Releasedcosmetic
addon #745False positive: Misra C++ 2023 6.2.4: do not warn about template function24.9.0Releasedcosmetic
addon #746False positive: Misra C++ 2023 6.2.4: do not warn about inline function24.9.0Releasedcosmetic
addon #747False positive: Misra C++ 2023 7.0.3: function call, char argument24.9.0Releasedcosmetic
addon #748False positive: Misra C++ 2023 7.0.6: sizeof result saved in signed int24.9.0Releasedcosmetic
addon #750False negative: Misra C++ 2023 5.10.1: leading _ in local variable24.9.0Releasedmajor
addon #753False positive: Misra C++ 2023 7.0.2: pointer to bool contextual conversion in old style for loop24.9.0Releasedcosmetic
addon #754False positive: Misra C++ 2023 21.6.3: destructor declaration24.9.0Releasedcosmetic
addon #756Misra C++ 2023 21.6.1: Remove extra T in message24.9.0Releasedcosmetic
addon #758False positive: Misra C++ 2023 7.0.3: code s += \'/\'; triggers false positive24.9.0Releasedcosmetic
addon #759False positive: Misra C++ 2023 6.8.3: assign address to member of local object24.9.0Releasedcosmetic
addon #760False positive: Misra C++ 2023 6.8.3: function parameter24.9.0Releasedcosmetic
addon #764False positive: Misra C++ 2023 7.0.2: pointer, first operand in ternary24.9.0Releasedcosmetic
addon #765False positive: Misra C++ 2023 11.6.1: constructor, first argument has default value24.9.0Releasedcosmetic
addon #766Clarify message: Misra C++ 7.0.4 for expression \'tok->astOperand1()->valueType()->constness & 1\'24.9.0Releasedcosmetic
addon #774Clarify message: Misra C++ 2023 15.0.1: point out base class and derived class24.9.0Releasedcosmetic
addon #775False positive: Misra C++ 2023 11.6.1: class with initialized members24.9.0Releasedcosmetic
addon #776False positive: Misra C++ 2023 6.7.2: global variable \'const std::vector<int> x{1,2,3}\'24.9.0Releasedcosmetic
addon #780False positive: cert-err33-c: output is checked later24.9.0Releasedcosmetic
addon #781Execute runformat to indent the code24.9.0Releasedcosmetic
addon #784False positive: Misra C 13.6 (and 8.9)24.9.0Releasedcosmetic
addon #786False positive: cert fio32-c: abc.open()24.9.0Releasedcosmetic
addon #792False positive: Misra C++ 2023 7.0.3: char literal + std::string24.9.0Releasedcosmetic
addon #793False positive: Cert C++ mem55: std::nothrow_t24.9.0Releasedcosmetic
addon #794Crash: uninit var checker24.9.0Releasedcosmetic
addon #798False positive: Misra C++ 2023 6.7.2: static class member declaration24.9.0Releasedcosmetic
addon #799False positive: Misra C++ 2023 6.7.2: const object24.9.0Releasedcosmetic
addon #800False positive: Misra C++ 2023 8.2.5: \'reinterpret_cast<std::uintptr_t>\'24.9.0Releasedcosmetic
addon #803False positive: Misra C++ 2023 15.0.1: noexcept members24.9.0Releasedmajor
addon #807False positive: Misra C++ 2023 8.18.2: initialization in condition24.9.0Releasedcosmetic
addon #808False positive: Misra C++ 2023 7.0.2: smart pointer conversion to bool24.9.0Releasedcosmetic
addon #809False positive: Misra C++ 2023 21.6.2: smart pointer construct24.9.0Releasedcosmetic
addon #813Add Misra C Dir 4.424.9.0Releasedcosmetic
addon #815False positive : Misra C 8.4: extern variables with structs24.9.0Releasedcosmetic
addon #817False positive: Misra C++ 2023 0.2.1: constexpr variable in header24.9.0Releasedcosmetic
addon #819False positive: Misra C++ 2023 7.0.4: stream write24.9.0Releasedcosmetic
addon #821False positive: Misra C++ 2023 0.2.1: variable declared in namespace in header and defined in source file24.9.0Releasedcosmetic
addon #823False positive: Misra C++ 2023 13.1.2: unnamed union in struct24.9.0Releasedcosmetic
addon #824False positive: Misra C++ 8.0.1: + and - in expression24.9.0Releasedcosmetic
addon #826Misra C 8.3: write a misra-config message instead of FP when there is unknown identifiers24.9.0Releasedcosmetic
addon #828Misra C: Implement Dir 4.3: Assembly language shall be encapsulated and isolated24.9.0Releasedcosmetic
addon #830Misra C Dir 4.5: Reuse code from Misra C++ 2008 2-10-124.9.0Releasedcosmetic
addon #834LOC license: executing in different path24.9.0Releasedcosmetic
addon #837False positive: Misra C++ 2023 6.8.4: returns pointer that is not owned24.9.0Releasedcosmetic
addon #842False positive: Misra C++ 2023 6.8.4: static method24.9.0Releasedcosmetic
addon #843False positive: Misra C++ 2023 13.3.1: Override or final specifiers should not be used with non-overriden functions.24.9.0Releasedcosmetic
addon #846False positive: Misra C++ 2023 9.5.2: do not count functions that return POD data24.9.0Releasedcosmetic
addon #849Add simple option to premiumaddon to count lines of code24.9.0Releasedcosmetic
addon #850False positive: Misra C++ 2023 6.7.2: const char hello[] = "hello";24.9.0Releasedcosmetic
addon #851False positive: Misra C++ 2023 8.18.2: variable declaration in while loop24.9.0Releasedcosmetic
addon #852CI: Switch from Misra C++ 2008 to Misra C++ 2023 in self check24.9.0Releasedcosmetic
addon #856Misra C++ 2023 11.3.1: change severity to warning24.9.0Releasedcosmetic
addon #857Update countloc.cpp from licensing repo24.9.0Releasedcosmetic
addon #859coverage.py: Generate coverage reports for Misra C directives24.9.0Releasedcosmetic
addon #862run coverage.py --code to update checkers info24.9.0Releasedcosmetic
addon #864False positive: Misra C++ 5.7.2: cppcheck inline suppression24.9.0Releasedcosmetic
addon #869Misra C++ 2023: Clarify 8.2.7 warning, indicate the expression that is converted24.9.0Releasedcosmetic
addon #870Crash: check_if_sizeof_is_used_to_determine_size_of_type_var24.9.0Releasedcosmetic
addon #874Crash: Misra C++ 2023 6.4.324.9.0Releasedcosmetic
addon #875Crash: trac 1212124.9.0Releasedcosmetic
addon #878Crash in Cert-C EXPR0324.9.0Releasedmajor
addon #881Misra C Dir 4.9: Implement checker24.9.0Releasedcosmetic
addon #883Misra C 10.3: refactor checker, avoid recursion24.9.0Releasedcosmetic
addon #885Misra C 8.7: output from premiumaddon should match the output from misra.py output to avoid duplicate warnings24.9.0Releasedcosmetic
addon #887CI: use latest cppcheck24.9.0Releasedcosmetic
addon #889review and tweak coverage.py24.9.0Releasedcosmetic
addon #891Release: Fix building of macos binaries24.9.0Releasedcosmetic
compliance-report #30Sync with cppcheck and premiumaddon24.9.0Releasedmajor
addon #5Hang CVE-2021-39929 
addon #9detect std::optional misuse 
addon #41New check: check usage of written buffer data 
addon #112uninitMember for conditional initialization 
addon #113uninit member usage 
addon #116null pointer dereference, comparing function 
addon #123False positive: bug hunting 
addon #138bug hunting, false negative, pointer incremented in loop 
addon #146Cert FN: INT30/INT31 major
addon #161Loss of precision: return 
addon #168Array index underrun: fgets 
addon #190Synthetic test cases (juliet etc) 
addon #216Detect use after free. Synthetic testcase 
addon #217False negative Misra C 21.18 
addon #218Fix trac 11771 
addon #280hang: checkuninitvar call of exprengine cosmetic
addon #295Crash: CheckUninitVar crashes 
addon #309license file path, environment variable 
addon #357false negative: misra-c2012-13.2, same variable used in expression and passed by address to function major
addon #362False positive: cert-err33-c: check output of malloc() cosmetic
addon #373False positive: premium-cert-dcl31-c: implicit \'int\' if \'unsigned\' is used as the type specifier 
addon #484Improve checkers; Casting integer 0 to pointer, warn about return 
addon #516Misra C++ 2008 3-1-1: false positive: const variable in header cosmetic
addon #522Misra C++ 2008 16-0-7: macro provided with -D is reported as undefined cosmetic
addon #523Misra C issues are not reproducible major
addon #524Misra C id cosmetic
addon #525Suppressing misra C warnings cosmetic
addon #557False positive: uninitvar: flag is only true if variable is initialized cosmetic
addon #561Buffer overflow; dynamic allocation, strcat cosmetic
addon #564Misra C 17.3 (A function shall not be declared implicitly.): Clarify error message when macro is used. 
addon #589False positive: infinite loop (more than one loop variable) cosmetic
addon #599Limit Misra C to C files cosmetic
addon #631License: More visible when it is about to expire cosmetic
addon #665code metrics, anti patterns cosmetic
addon #671New check: class with unsafe lifetime interface. detect problems using CTU analysis. cosmetic
addon #675False positive: cert c++ ctr52, thinks that container is empty when `auto` is used cosmetic
addon #676False positive: cert c++ dcl54: deleting operator is not declaration cosmetic
addon #778false negative, return value from recv, recvfrom is used as array index major
addon #836False negative: Misra C++ 2023 6.8.4: std::vector::at major
addon #840New check: Dangerous code, returning reference to member in method marked with non const && cosmetic
addon #865Bug hunting: Detect array index after check major
addon #866Bug hunting: Detect array index out of bounds. array index assigned in for loop and used after the loop. major
addon #872Bug hunting: Check if pointer is null after dereferencing it major
addon #896countloc: Add a "loc2" member that is closer to "cloc" output cosmetic
compliance-report #32optionally group violations by level/classification cosmetic