Cppcheck

A static analysis tool that finds bugs such as memory leaks and buffer overruns in C and C++ code.

Open source (GPL-3.0-or-later)By Daniel Marjamäki

Compare Cppcheck with another product

3 more ways to get Cppcheck

Run by third parties, not by Daniel Marjamäki. Prefer the official page above when it works.

Alternatives

See all alternatives

About Cppcheck

Cppcheck analyses C and C++ source code without compiling or running it, looking for problems such as memory leaks, mismatched allocation and deallocation, and buffer overruns. Its stated goal is zero false positives, so the warnings it reports are meant to be worth acting on.

It runs on Windows, macOS and Linux, and is commonly added to build scripts or continuous integration alongside compiler warnings. The project remains active, with an update published in September 2026.

Strengths

  • Detects memory leaks, buffer overruns and allocation mismatches
  • Aims for zero false positives
  • Runs on Windows, macOS and Linux
  • Actively maintained

Limitations

  • Limited to C and C++
  • Static analysis cannot catch every runtime bug

Details

Pricing
FreeFree and open source under the GPL-3.0 licence.
License
GPL-3.0-or-later
Developer
Daniel Marjamäki
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
C and C++ developers who want an extra bug check in their build or CI
Categories
Developer tools
Last verified
Added

Report a wrong fact or a dead link on this listing