Skip to content

Cppcheck-1.88

Compare
Choose a tag to compare
@danmar danmar released this 29 Jun 08:38

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