cppcheck

Install latest/stable of cppcheck

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install cppcheck

Don't have snapd? Get set up for snaps.

Channel Version Published

C/C++ static code analyser

Cppcheck is a static analysis tool for discovering bugs in C and C++ codebases, even when a non-standard syntax is used.

By implementing coding standards such as Mistra C 2012 and providing extensibility with custom rules, it detects dangerous coding constructs such as buffer overflows, NULL pointer dereferences, and divisions by zero. At the same time, Cppcheck tries to minimise the false positive rates.

Details for cppcheck

License
  • GPL-3.0

Last updated
  • 23 January 2024 - latest/stable
  • 20 November 2024 - latest/edge

Websites

Contact

Source code

Report a bug

Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.


Install cppcheck on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.