Cppcheck News

Cppcheck Premium 24.9.0 released

Written by Daniel Marjamäki | Sep 3, 2024 6:51:44 AM

Discover the latest updates in Cppcheck Premium version 24.9.0!


The latest Cppcheck Premium 24.9.0 update brings key improvements across MISRA C, MISRA C++, CERT C, and CERT C++. For MISRA C, new directives have been implemented, and several false negatives and positives have been resolved. MISRA C++ 2023 received extensive updates, including fixes for false negatives and positives, along with clarified warnings.

CERT C and CERT C++ saw updates with new recommendations and fixes for false positives. Additionally, the LOC License now offers better flexibility for CMake integration, and a new --cloc option has been added for counting lines of code. The update also addresses six crash-causing bugs, improving overall stability.

Misra C
  • Implemented Misra C Directives: 4.3, 4.4, 4.5, 4.6, 4.9
  • Fixed false negatives: 5.1, 6.1
  • Fixed false positives: 8.3, 8.4, 8.9, 10.3, 13.5, 13.6
Misra C++ 2008
  • Fixed false positives: 5-0-2
Misra C++ 2023
  • Fixed false negatives: 5.10.1
  • Fixed false positives: 0.1.2, 0.2.1, 5.7.2, 6.2.4, 6.5.2, 6.7.2, 6.8.3, 6.8.4, 6.9.2, 7.0.2, 7.0.3, 7.0.4, 7.0.6, 8.0.1, 8.2.5, 8.18.2, 9.5.1, 9.5.2, 11.6.1, 13.1.2, 13.3.1, 15.0.1, 19.3.3, 21.6.x
  • Clarify warnings: 6.8.4, 7.0.4, 8.2.7, 13.3.1, 15.0.1, 15.0.2
Cert C
  • Implement recommendation EXP03, EXP05, EXP09, EXP13, EXP19
  • Fixed false positives: ERR33, FIO32
Cert C++
  • Fixed false positives: MEM55
LOC License
  • More flexible for cmake integration
  • Add option --cloc to count lines of code
Crashes
We have fixed 6 bugs that caused crash
 
Based on Cppcheck-2.15.0