github danmar/cppcheck 2.17.0
Cppcheck-2.17.0

14 hours ago

Release Notes for Cppcheck 2.17

New checks:

  • staticFunction: detect functions that should have internal linkage since they
    are not used outside of their translation unit (C code only).
  • Check null pointer return from memory/resource allocation functions (nullPointerOutOfMemory,
    nullPointerArithmeticOutOfMemory, nullPointerOutOfResources, ctunullpointerOutOfMemory,
    ctunullpointerOutOfResources).

Changed interface:

  • Added reduced check level. It can be activated with --check-level=reduced. You get faster analysis
    but some fewer results. The motivation is to be able to make analysis time "acceptable" for direct usage.
  • Added --report-type option. Enables printing of guidelines and classifications for several coding
    standards in place of the regular error identifiers and severities.

Other:

  • Removed deperecated support for builds via qmake.
  • Using a handwritten rule texts file for MISRA C addon violates license and copyright terms. See the
    manual for instructions how to download a official rule texts file from MISRA.

Don't miss a new cppcheck release

NewReleases is sending notifications on new releases.