cppcheck
Install latest/stable of cppcheck
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Details for cppcheck
Package name
- cppcheck
License
- GPL-3.0
Last updated
- 23 January 2024 - latest/stable
- 23 September 2026 - latest/edge
Websites
Contact
Source code
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report cppcheck for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
Share this snap
Generate an embeddable card to be shared on external websites.
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.
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
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.