Alternatives to Cppcheck
A static analysis tool that finds bugs such as memory leaks and buffer overruns in C and C++ code. Notes say what changes if you switch.
The original
Cppcheck
A static analysis tool that finds bugs such as memory leaks and buffer overruns in C and C++ code.
13 alternatives
Most similar to Cppcheck first.
Valgrind
An instrumentation framework with tools for finding memory and threading bugs and profiling programs.
LLVM
A collection of modular compiler and toolchain technologies, including the Clang C and C++ compiler.
SonarScanner CLI
A command-line scanner that analyzes a project's source code and sends the results to SonarQube.
GDB
The GNU Project debugger for inspecting running or crashed programs written in C, C++, Rust and more.
Dr. Memory
A memory debugger that finds leaks, uninitialized reads and use-after-free errors in unmodified binaries.
ClangFormat
A command-line code formatter from the LLVM project for C, C++, Objective-C, Java, JavaScript and TypeScript.
clangd
A language server for C and C++ that adds completion, diagnostics and navigation to editors.
SonarQube
A static code analysis platform that flags bugs, maintainability issues and security vulnerabilities.
Artistic Style
A command-line source code indenter and formatter for C, C++, C#, Objective-C and Java.
Include What You Use
A Clang-based tool that finds unnecessary and missing includes in C and C++ source files.
Understand
A code analysis tool for navigating, visualizing and measuring large codebases.
Uncrustify
A configurable source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.
CodeQL
A semantic code analysis engine from GitHub that lets you query source code to find vulnerabilities.
CodeQL queries data flow across a codebase to find vulnerability patterns in many languages, but its engine is not open source and free use is limited to research and open source code.