pkg.soopen package index

brew / 排名 4785

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 sparse

查看 sparse 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sparse

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add sparse

Alpine Linux edge package indexes · sparse · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install sparse

Debian stable package indexes · sparse · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install sparse

Fedora Rawhide package metadata · sparse · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#sparse

nixpkgs package indexes · pkgs/by-name/sp/sparse/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S sparse

Arch Linux sync databases · sparse · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install sparse

openSUSE Tumbleweed package metadata · sparse · 来源: download.opensuse.org

概览

软件包摘要

Static C code analysis tool

命令和别名

  • cgcc
  • sparse

历史

项目历史与用法

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.

时间线

  • 2003: Linus Torvalds started Sparse, according to the official documentation.
  • 2006: Josh Triplett became the first maintainer, and v0.1 is listed in the official release notes.
  • 2009: Christopher Li became maintainer.
  • 2018: Luc Van Oostenryck became maintainer in late 2018.
  • 2021: v0.6.4 release listed in official release notes.

Related projects

  • Sparse is closely associated with the Linux kernel, GCC-style C extensions, kernel address-space annotations, and other static-analysis or compiler-front-end tooling for C.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cgcc可执行文件已索引可执行文件从本地可执行文件索引发现。
sparse可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本0.6.4
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:sparse
版本0.6.4
软件包管理器Homebrew
主页https://sparse.wiki.kernel.org/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

sparse 0.6.4-5

semantic parser of source files

https://sparse.wiki.kernel.org/

sudo apt install sparse
  • Section: devel
  • Architecture: amd64
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sparse
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sparse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

sparse-test-inspect 0.6.4-5

semantic parser of source files

https://sparse.wiki.kernel.org/

sudo apt install sparse-test-inspect
  • Section: devel
  • Architecture: amd64
  • Source Package: sparse
  • 3 依赖
  • normalized package name match
  • 匹配方式:Sparse
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sparse-test-inspect from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sparse

nix profile install nixpkgs#sparse
  • normalized package name match
  • 匹配方式:Sparse
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sp/sparse/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

sparse 0.6.4-4ubuntu3

semantic parser of source files

https://sparse.wiki.kernel.org/

sudo apt install sparse
  • Section: universe/devel
  • Architecture: amd64
  • 5 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Sparse
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sparse from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

sparse-test-inspect 0.6.4-4ubuntu3

semantic parser of source files

https://sparse.wiki.kernel.org/

sudo apt install sparse-test-inspect
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: sparse
  • 3 依赖
  • normalized package name match
  • 匹配方式:Sparse
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sparse-test-inspect from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

sparse 0.6.4-r2

A semantic parser of source files

http://sparse.wiki.kernel.org/

sudo apk add sparse
  • License: MIT
  • Architecture: x86_64
  • Source Package: sparse
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sparse
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sparse from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

sparse-doc 0.6.4-r2

A semantic parser of source files (documentation)

http://sparse.wiki.kernel.org/

sudo apk add sparse-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: sparse
  • normalized package name match
  • 匹配方式:Sparse
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: sparse-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

sparse 0.6.4-4.gce1a6720f69e.fc45.8

A semantic parser of source files

https://sparse.wiki.kernel.org

sudo dnf install sparse
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: sparse
  • 8 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sparse
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: sparse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

sparse 0.6.5+rc1-2

Semantic parser for C

https://sparse.docs.kernel.org/en/latest/

sudo pacman -S sparse
  • License: MIT
  • Architecture: x86_64
  • 6 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Sparse
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: sparse from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

sparse 0.6.5~rc1+20251218-1.2

A semantic parser of source files

https://sparse.docs.kernel.org/

sudo zypper install sparse
  • License: MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: sparse
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sparse
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sparse from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

sparse-inspect 0.6.5~rc1+20251218-1.2

Inspect binary from sparse

https://sparse.docs.kernel.org/

sudo zypper install sparse-inspect
  • License: MIT
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: sparse
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Sparse
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: sparse-inspect from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation