Package Info

cppcheck


A tool for static C/C++ code analysis


Development/Languages/C and C++

This program tries to detect bugs that your C/C++ compiler don't see. Cppcheck is versatile. You can check non-standard code that includes various compiler extensions, inline assembly code, etc. Checking covers for example these errors:

  • Out of bounds
  • Uninitialized member variable 'classname::varname'
  • Using 'memfunc' on class
  • Using 'memfunc' on struct that contains a 'std::classname'
  • Class Base which is inherited by class Derived does not have a virtual destructor
  • Memory leak: varname
  • Resource leak: varname
  • Deallocating a deallocated pointer: varname
  • Using 'varname' after it is deallocated / released
  • Invalid radix in call to strtol or strtoul. Must be 0 or 2-36
  • Overlapping data buffer varname
  • Unsigned division. The result will be wrong.
  • Unusual pointer arithmetic

License: GPL-3.0+
URL: http://cppcheck.sourceforge.net/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.82-bp150.2.5 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui
1.82-bp151.2.16 info GA Release 2019-05-18 15 SP1
  • ppc64le
  • cppcheck
  • cppcheck-gui
1.82-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui
1.82-bp152.3.23 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui
1.82-bp153.1.20 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui