macOS
brew install sparselocal Homebrew formula metadata
brew / 順位 4785
sparse のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install sparselocal Homebrew formula metadata
sudo apk add sparseAlpine Linux edge package indexes · sparse · ソース: dl-cdn.alpinelinux.org
sudo apt install sparseDebian stable package indexes · sparse · ソース: deb.debian.org
sudo dnf install sparseFedora Rawhide package metadata · sparse · ソース: dl.fedoraproject.org
nix profile install nixpkgs#sparsenixpkgs package indexes · pkgs/by-name/sp/sparse/package.nix · ソース: api.github.com
sudo pacman -S sparseArch Linux sync databases · sparse · ソース: geo.mirror.pkgbuild.com
sudo zypper install sparseopenSUSE Tumbleweed package metadata · sparse · ソース: download.opensuse.org
概要
Static C code analysis tool
履歴
Sparse is a semantic parser and static-analysis tool for C, historically tied to Linux kernel development. It parses much of ANSI C plus many GCC extensions and uses annotations to catch mistakes such as incorrect address-space pointer use.
The official documentation says Linus Torvalds started writing Sparse in 2003, initially targeting issues such as mixing user-space and kernel-space pointers. It also records maintainer handoffs to Josh Triplett in 2006, Christopher Li in 2009, and Luc Van Oostenryck in late 2018.
Sparse's adoption is rooted in kernel and low-level C workflows rather than general application development. Its official documentation points contributors to the linux-sparse mailing list, kernel.org Git repository, release tarballs, and kernel bug tracker, while the supplied package data shows distribution through many Unix package managers.
Users build Sparse from the kernel.org Git repository with `make` and `make install`, or install it from a system package manager. The `sparse` analyzer and `cgcc` wrapper are used to check C code with Sparse's type and annotation system.
Sparse matters to package nerds because it is old-school kernel infrastructure that still behaves like a classic Unix developer tool: source releases, mailing-list development, a kernel.org Git repository, manpage-like docs, and wide distro packaging. It also demonstrates how static-analysis tools become part of build and packaging QA culture.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cgcc | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
sparse | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:sparse |
|---|---|
| バージョン | 0.6.4 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://sparse.wiki.kernel.org/ |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
sparse 0.6.4-5
semantic parser of source files
https://sparse.wiki.kernel.org/
sudo apt install sparsesparse-test-inspect 0.6.4-5
semantic parser of source files
https://sparse.wiki.kernel.org/
sudo apt install sparse-test-inspectsparse
nix profile install nixpkgs#sparsesparse 0.6.4-4ubuntu3
semantic parser of source files
https://sparse.wiki.kernel.org/
sudo apt install sparsesparse-test-inspect 0.6.4-4ubuntu3
semantic parser of source files
https://sparse.wiki.kernel.org/
sudo apt install sparse-test-inspectsparse 0.6.4-r2
A semantic parser of source files
http://sparse.wiki.kernel.org/
sudo apk add sparsesparse-doc 0.6.4-r2
A semantic parser of source files (documentation)
http://sparse.wiki.kernel.org/
sudo apk add sparse-docsparse 0.6.4-4.gce1a6720f69e.fc45.8
A semantic parser of source files
https://sparse.wiki.kernel.org
sudo dnf install sparsesparse 0.6.5+rc1-2
Semantic parser for C
https://sparse.docs.kernel.org/en/latest/
sudo pacman -S sparsesparse 0.6.5~rc1+20251218-1.2
A semantic parser of source files
https://sparse.docs.kernel.org/
sudo zypper install sparsesparse-inspect 0.6.5~rc1+20251218-1.2
Inspect binary from sparse
https://sparse.docs.kernel.org/
sudo zypper install sparse-inspectソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.