OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

cppcheck-2.18.0

C/C++ static checker

Back to search · Project homepage

Description

Cppcheck is a command-line tool that tries to detect bugs that your C/C++ compiler doesn't see. It is versatile, and can check non-standard code including various compiler extensions, inline assembly code, etc. Its internal preprocessor can handle includes, macros, and several preprocessor commands. While Cppcheck is highly configurable, you can start using it just by giving it a path to the source code.

Package information

Ports path
devel/cppcheck
Package architecture
amd64
Maintainer
Gleydson Soares <gsoares@openbsd.org>
Categories
devel, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Build

Test

Used by (7 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON