Automic VaultAutomic Vault

brew

csmith を Homebrew, apk, apt, dnf, Nix, zypper でインストール

csmith のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install csmith

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add csmith

Alpine Linux edge package indexes · csmith · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install csmith

Debian stable package indexes · csmith · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install csmith

Fedora Rawhide package metadata · csmith · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#csmith

nixpkgs package indexes · pkgs/by-name/cs/csmith/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install csmith

openSUSE Tumbleweed package metadata · csmith · ソース: download.opensuse.org

概要

パッケージ概要

Generates random C programs conforming to the C99 standard

コマンドとエイリアス

  • compiler_test.pl
  • csmith
  • launchn.pl

履歴

プロジェクトの歴史と使われ方

Csmith is a random C program generator designed for compiler testing. It is a package-nerd staple because it turns compiler validation into a repeatable command-line workload that distributions can package and compiler developers can run locally.

プロジェクトの歴史

The official README says Csmith was developed at the University of Utah by Xuejun Yang, Yang Chen, Eric Eide, and John Regehr as part of a compiler-testing research project. It says the project was open sourced in 2009 and is maintained as an open-source project in discretionary time.

採用の歴史

The project became known through differential testing of C compilers. The README points to the paper Finding and Understanding Bugs in C Compilers as the best summary of the research, and the packaged tool is available across Homebrew and several Linux distributions according to the input package-manager facts.

使われ方

Official usage examples generate a random C file with csmith, compile it with GCC and Clang, run both outputs, and compare results. The README also notes that generated programs avoid undefined behavior and that timeouts are best practice because generated programs can contain infinite loops.

パッケージ好きにとっての重要性

Csmith is a compact command-line generator with outsized value for compiler packages: it can be scripted into local compiler checks, regression hunts, and distribution QA without a large service dependency.

タイムライン

  • 2009: Csmith was open sourced.
  • 2011: The GitHub repository was created.
  • 2026: Homebrew formula metadata lists stable version 2.3.0.

Related projects

  • The README's primary related projects are C compilers such as GCC and Clang, used as differential-testing targets.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
compiler_test.plcliグローバル実行可能ファイル
csmithcliグローバル実行可能ファイル
launchn.plcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版2.3.0
マネージャ更新日2026-06-19
ローカルデータOK
上流最新
検出された最新csmith-2.3.0

https://github.com/csmith-project/csmith

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:csmith
バージョン2.3.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/csmith
ホームページhttps://github.com/csmith-project/csmith
リポジトリhttps://github.com/csmith-project/csmith
上流ドキュメントhttps://github.com/csmith-project/csmith#readme
ライセンスBSD-2-Clause
ソースアーカイブhttps://github.com/csmith-project/csmith/archive/refs/tags/csmith-2.3.0.tar.gz
最終更新2026-06-19T12:30:04-07:00
Pulseupdated
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし
注意点It is recommended that you set the environment variable 'CSMITH_PATH' to $HOMEBREW_CELLAR/csmith/2.3.0/include/csmith-2.3.0

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecsmith
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

csmith 2.3.0-8

generator of random C programs

https://embed.cs.utah.edu/csmith/

sudo apt install csmith
  • Section: devel
  • Architecture: amd64
  • 4 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Csmith
Debian stable package indexes · deb.debian.org · Debian stable package indexes: csmith from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcsmith-dev 2.3.0-8

generator of random C programs (development files)

https://embed.cs.utah.edu/csmith/

sudo apt install libcsmith-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: csmith
  • 1 依存関係
  • normalized package name match
  • 一致条件: Csmith
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcsmith-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libcsmith0t64 2.3.0-8

generator of random C programs (runtime library)

https://embed.cs.utah.edu/csmith/

sudo apt install libcsmith0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: csmith
  • 1 提供
  • normalized package name match
  • 一致条件: Csmith
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcsmith0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

csmith

nix profile install nixpkgs#csmith
  • normalized package name match
  • 一致条件: Csmith
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cs/csmith/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

csmith 2.3.0-7.1build1

generator of random C programs

https://embed.cs.utah.edu/csmith/

sudo apt install csmith
  • Section: universe/devel
  • Architecture: amd64
  • 4 依存関係
  • normalized package name match
  • 一致条件: Csmith
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: csmith from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcsmith-dev 2.3.0-7.1build1

generator of random C programs (development files)

https://embed.cs.utah.edu/csmith/

sudo apt install libcsmith-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: csmith
  • 1 依存関係
  • normalized package name match
  • 一致条件: Csmith
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcsmith-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libcsmith0t64 2.3.0-7.1build1

generator of random C programs (runtime library)

https://embed.cs.utah.edu/csmith/

sudo apt install libcsmith0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: csmith
  • 1 提供
  • normalized package name match
  • 一致条件: Csmith
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcsmith0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

csmith 2.3.0-r2

Tool for generating random C programs

https://embed.cs.utah.edu/csmith/

sudo apk add csmith
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: csmith
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Csmith
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: csmith from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

csmith-doc 2.3.0-r2

Tool for generating random C programs (documentation)

https://embed.cs.utah.edu/csmith/

sudo apk add csmith-doc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: csmith
  • normalized package name match
  • 一致条件: Csmith
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: csmith-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

csmith 2.4.0-15.fc44

Tool to generate random C programs for compiler testing

http://embed.cs.utah.edu/csmith/

sudo dnf install csmith
  • License: LicenseRef-Callaway-BSD AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: i686
  • Source Package: csmith
  • 7 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Csmith
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: csmith from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

csmith-devel 2.4.0-15.fc44

Header files and libraries for Csmith development

http://embed.cs.utah.edu/csmith/

sudo dnf install csmith-devel
  • License: LicenseRef-Callaway-BSD AND GPL-2.0-or-later AND LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: i686
  • Source Package: csmith
  • 3 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Csmith
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: csmith-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

csmith 2.3.0-1.31

Random C code generator

https://github.com/csmith-project/csmith

sudo zypper install csmith
  • License: BSD-3-Clause
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: csmith
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Csmith
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: csmith from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment