Cppcheck v1.88 Release Notes

Release Date: 2019-06-29 // over 4 years ago
  • ๐Ÿ†• New checks:

    • Comparing pointers that point to different objects
    • โž• Address of local variable 'x' is accessed at non-zero index
    • STL usage: unnecessary search before insertion
    • Duplicate expression for condition and assignment: if (x==3) x=3;

    โž• Added --library configuration files for:

    • cppunit
    • libcerror
    • nspr
    • opengl
    • sqlite3

    ๐Ÿ‘ Better handling of C++14 and C++17

    ๐Ÿ’ป Command line:

    • ๐Ÿ†• New command line option --addon used to run addons directly from Cppcheck.
    • Some advanced options are only available in GUI:
      • remove unused declarations in header files to speedup analysis
      • remove unused templates to speedup analysis
      • when checking visual studio project, only check 1 configuration
      • max whole-program-analysis call stack depth
        ๐Ÿ’ป To get these features in command line tool, create a GUI project file and import that on command line using --project.

    GUI:

    • ๐Ÿ‘ started implementing theme support

    ๐Ÿ‘‰ Makefile:
    ๐Ÿ— Please use MATCHCOMPILER=yes instead of SRCDIR=build when compiling to enable the match compiler.

    Cert:

    • โž• add check exp15-c
    • โž• add check str03-c
    • โž• add check str05-c
    • โž• add check str07-c

    Misra:

    • โž• Add check 17.7
    • โž• Add check 20.7
    • โž• Add check 20.10