Package Info

cppcheck


A tool for static C/C++ code analysis


Unspecified

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-or-later
URL: https://github.com/danmar/cppcheck

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.12.1-bp156.3.4 info GA Release 2024-05-13 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui
2.12.1-bp155.2.3.1 info openSUSE-2023-413 2023-12-24 15 SP5 Update
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui
2.10-bp155.1.5 info GA Release 2023-05-22 15 SP5
  • x86-64
  • cppcheck
  • cppcheck-gui
2.8.2-bp155.1.7 info GA Release 2022-12-02 15 SP5
  • ppc64le
  • s390x
  • cppcheck
  • cppcheck-gui
2.5-bp154.1.87 info GA Release 2022-05-12 15 SP4
  • 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
1.82-bp152.3.23 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • 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-bp151.2.16 info GA Release 2019-05-18 15 SP1
  • ppc64le
  • cppcheck
  • cppcheck-gui
1.82-bp150.2.5 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • cppcheck
  • cppcheck-gui