macOS
brew install cppchecklocal Homebrew formula metadata
sudo port install cppcheckMacPorts ports tree · devel/cppcheck/Portfile · Source: api.github.com
brew / rang 1121
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de cppcheck pour les workflows d'agents IA.
installation
brew install cppchecklocal Homebrew formula metadata
sudo port install cppcheckMacPorts ports tree · devel/cppcheck/Portfile · Source: api.github.com
sudo apk add cppcheckAlpine Linux edge package indexes · cppcheck · Source: dl-cdn.alpinelinux.org
sudo apt install cppcheckDebian stable package indexes · cppcheck · Source: deb.debian.org
sudo dnf install cppcheckFedora Rawhide package metadata · cppcheck · Source: dl.fedoraproject.org
nix profile install nixpkgs#cppchecknixpkgs package indexes · pkgs/by-name/cp/cppcheck/package.nix · Source: api.github.com
sudo pacman -S cppcheckArch Linux sync databases · cppcheck · Source: geo.mirror.pkgbuild.com
sudo zypper install cppcheckopenSUSE Tumbleweed package metadata · cppcheck · Source: download.opensuse.org
choco install cppcheckChocolatey community package catalog · cppcheck · Source: community.chocolatey.org
scoop install main/cppcheckScoop official bucket manifest trees · bucket/cppcheck.json · Source: api.github.com
winget install --id Cppcheck.Cppcheck -eWindows Package Manager source index · Cppcheck.Cppcheck · Source: cdn.winget.microsoft.com
aperçu
Static analysis of C and C++ code
historique
Cppcheck is an open-source static analysis tool for C and C++ code. It focuses on bugs that compilers commonly miss, especially undefined behavior and dangerous constructs, while trying to keep false positives low.
The upstream README notes that the original name was C++check and was later changed to Cppcheck. It also says that despite the name, Cppcheck is designed for both C and C++.
The GitHub repository was created in March 2009. The README states that the repository moved from danmar/cppcheck to cppcheck-opensource/cppcheck, and the official website now links current source downloads to the cppcheck-opensource GitHub releases.
Cppcheck has kept both command-line and graphical user interfaces. Upstream build documentation covers CMake, Visual Studio, Qt Creator, GNU make, MinGW, and cross-compiling, which explains why it appears in many OS package ecosystems.
The supplied package facts list Cppcheck across Homebrew, MacPorts, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, Nix, openSUSE/zypper, Chocolatey, Scoop, winget, and more. Upstream's README also explicitly points users to Homebrew, MacPorts, Conda, Conan, and other distribution channels, while warning that third-party packages may lag releases.
The official website lists integrations with development tools such as Buildbot, CLion, Code::Blocks, CodeLite, Eclipse, and others. That integration footprint is part of why Cppcheck is common in CI and editor workflows.
Cppcheck is used from the command line and GUI to analyze C/C++ projects for memory issues, out-of-bounds access, uninitialized variables, null dereferences, invalid shifts, integer overflows, and other undefined behavior. Upstream also documents addon, rules, and platform data files as part of packaged installs.
Cppcheck is package-significant because static analyzers are often installed as developer tools rather than vendored into one project. Packagers need to track release cadence, optional PCRE/rules support, GUI builds, data-file install paths, and the upstream repository move while preserving a stable cppcheck command for CI.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
cppcheck | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
cppcheck-htmlreport | exécutable | exécutable indexé | Découvert depuis l'index local des exécutables. |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
métadonnées d'installation
| Clé du paquet | brew:cppcheck |
|---|---|
| Version | 2.21.0 |
| Gestionnaire de paquets | Homebrew |
| Page d'accueil | https://sourceforge.net/projects/cppcheck/ |
| Dépôt | https://github.com/cppcheck-opensource/cppcheck |
| Dernière mise à jour | 2026-07-05T00:14:30+09:00 |
| Pulse | updated |
| Bouteille | non enregistré |
| Service | aucun déclaré |
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
cppcheck 2.17.1-2
tool for static C/C++ code analysis (CLI)
https://sourceforge.net/p/cppcheck/wiki/Home/
sudo apt install cppcheckcppcheck-gui 2.17.1-2
tool for static C/C++ code analysis (GUI)
https://sourceforge.net/p/cppcheck/wiki/Home/
sudo apt install cppcheck-guicppcheck
nix profile install nixpkgs#cppcheckcppcheck 2.13.0-2ubuntu3
tool for static C/C++ code analysis (CLI)
https://sourceforge.net/p/cppcheck/wiki/Home/
sudo apt install cppcheckcppcheck-gui 2.13.0-2ubuntu3
tool for static C/C++ code analysis (GUI)
https://sourceforge.net/p/cppcheck/wiki/Home/
sudo apt install cppcheck-guicppcheck 2.21.0-r0
Static analysis tool for C/C++ code
https://cppcheck.sourceforge.io/
sudo apk add cppcheckcppcheck-doc 2.21.0-r0
Static analysis tool for C/C++ code (documentation)
https://cppcheck.sourceforge.io/
sudo apk add cppcheck-doccppcheck-gui 2.21.0-r0
Qt gui for cppcheck
https://cppcheck.sourceforge.io/
sudo apk add cppcheck-guicppcheck-htmlreport 2.21.0-r0
Utility to generate a html report of a XML file produced by cppcheck
https://cppcheck.sourceforge.io/
sudo apk add cppcheck-htmlreportcppcheck 2.21.1-2.fc45
Tool for static C/C++ code analysis
http://cppcheck.sourceforge.io/
sudo dnf install cppcheckcppcheck-gui 2.21.1-2.fc45
Graphical user interface for cppcheck
http://cppcheck.sourceforge.io/
sudo dnf install cppcheck-guicppcheck-htmlreport 2.21.1-2.fc45
HTML reporting for cppcheck
http://cppcheck.sourceforge.io/
sudo dnf install cppcheck-htmlreportcppcheck 2.21.1-1
A tool for static C/C++ code analysis
http://cppcheck.sourceforge.net/
sudo pacman -S cppcheckcppcheck 2.21.0-1.3
A tool for static C/C++ code analysis
https://github.com/cppcheck-opensource/cppcheck
sudo zypper install cppcheckcppcheck-gui 2.21.0-1.3
A tool for static C/C++ code analysis
https://github.com/cppcheck-opensource/cppcheck
sudo zypper install cppcheck-guicppcheck
sudo port install cppcheckpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.