Skip to content

Commit 9b23fb8

Browse files
authored
Checkers list: Update checkers list for cppcheck premium (danmar#7318)
1 parent 85423bd commit 9b23fb8

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

lib/checkers.cpp

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Cppcheck - A tool for static C/C++ code analysis
3-
* Copyright (C) 2007-2024 Cppcheck team.
3+
* Copyright (C) 2007-2025 Cppcheck team.
44
*
55
* This program is free software: you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by
@@ -66,7 +66,6 @@ namespace checkers {
6666
{"CheckStl::knownEmptyContainer","style"},
6767
{"CheckStl::eraseIteratorOutOfBounds",""},
6868
{"CheckStl::checkMutexes","warning"},
69-
{"CheckBoost::checkBoostForeachModification",""},
7069
{"CheckNullPointer::nullPointer",""},
7170
{"CheckNullPointer::nullConstantDereference",""},
7271
{"CheckNullPointer::arithmetic",""},
@@ -82,6 +81,7 @@ namespace checkers {
8281
{"CheckBufferOverrun::negativeArraySize",""},
8382
{"CheckUninitVar::check",""},
8483
{"CheckUninitVar::valueFlowUninit",""},
84+
{"CheckUninitVar::analyseWholeProgram",""},
8585
{"CheckOther::checkCastIntToCharAndBack","warning"},
8686
{"CheckOther::clarifyCalculation","style"},
8787
{"CheckOther::clarifyStatement","warning"},
@@ -357,6 +357,8 @@ namespace checkers {
357357
{"Cert C: CON39-C",""},
358358
{"Cert C: CON40-C",""},
359359
{"Cert C: CON41-C",""},
360+
{"Cert C: DCL03-C",""},
361+
{"Cert C: DCL04-C",""},
360362
{"Cert C: DCL31-C",""},
361363
{"Cert C: DCL36-C",""},
362364
{"Cert C: DCL37-C",""},
@@ -386,6 +388,7 @@ namespace checkers {
386388
{"Cert C: EXP40-C",""},
387389
{"Cert C: EXP42-C",""},
388390
{"Cert C: EXP43-C",""},
391+
{"Cert C: EXP44-C",""},
389392
{"Cert C: EXP45-C",""},
390393
{"Cert C: FIO30-C",""},
391394
{"Cert C: FIO32-C",""},
@@ -415,6 +418,18 @@ namespace checkers {
415418
{"Cert C: MSC38-C",""},
416419
{"Cert C: MSC39-C",""},
417420
{"Cert C: MSC40-C",""},
421+
{"Cert C: PRE00-C",""},
422+
{"Cert C: PRE01-C",""},
423+
{"Cert C: PRE02-C",""},
424+
{"Cert C: PRE04-C",""},
425+
{"Cert C: PRE05-C",""},
426+
{"Cert C: PRE06-C",""},
427+
{"Cert C: PRE07-C",""},
428+
{"Cert C: PRE08-C",""},
429+
{"Cert C: PRE09-C",""},
430+
{"Cert C: PRE10-C",""},
431+
{"Cert C: PRE11-C",""},
432+
{"Cert C: PRE12-C",""},
418433
{"Cert C: PRE31-C",""},
419434
{"Cert C: SIG30-C",""},
420435
{"Cert C: SIG31-C",""},
@@ -772,6 +787,7 @@ namespace checkers {
772787
{"Misra C: 11.3",""},
773788
{"Misra C: 11.4",""},
774789
{"Misra C: 11.8",""},
790+
{"Misra C: 12.2",""},
775791
{"Misra C: 12.3",""},
776792
{"Misra C: 12.6",""},
777793
{"Misra C: 13.1",""},
@@ -795,6 +811,7 @@ namespace checkers {
795811
{"Misra C: 18.8",""},
796812
{"Misra C: 18.9",""},
797813
{"Misra C: 20.3",""},
814+
{"Misra C: 20.7",""},
798815
{"Misra C: 21.1",""},
799816
{"Misra C: 21.12",""},
800817
{"Misra C: 21.16",""},
@@ -843,6 +860,7 @@ namespace checkers {
843860
{"Misra C: 8.8",""},
844861
{"Misra C: 9.6",""},
845862
{"Misra C: 9.7",""},
863+
{"Misra C: Dir 4.12",""},
846864
{"Misra C: Dir 4.3",""},
847865
{"Misra C: Dir 4.4",""},
848866
{"Misra C: Dir 4.5",""},
@@ -854,11 +872,13 @@ namespace checkers {
854872
{"PremiumCheckHang::infiniteLoop",""},
855873
{"PremiumCheckHang::infiniteLoopContinue",""},
856874
{"PremiumCheckOther::arrayPointerComparison","style"},
875+
{"PremiumCheckOther::invalidPointerLiteral",""},
857876
{"PremiumCheckOther::knownResult","style"},
858877
{"PremiumCheckOther::lossOfPrecision","style"},
859878
{"PremiumCheckOther::pointerCast","style"},
860879
{"PremiumCheckOther::reassignInLoop","style"},
861880
{"PremiumCheckOther::unreachableCode","style"},
881+
{"PremiumCheckOther::useAfterFree",""},
862882
{"PremiumCheckStrictAlias::strictAliasCondition","warning"},
863883
{"PremiumCheckUninitVar::uninitmember",""},
864884
{"PremiumCheckUninitVar::uninitvar",""},
@@ -2096,3 +2116,5 @@ std::vector<checkers::Info> checkers::certCppInfo{
20962116
{"MSC53-CPP", "L2"},
20972117
{"MSC54-CPP", "L2"},
20982118
};
2119+
2120+

0 commit comments

Comments
 (0)