Automic VaultAutomic Vault

brew

Installer csmith avec Homebrew, apk, apt, dnf, Nix, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de csmith pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install csmith

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add csmith

Alpine Linux edge package indexes · csmith · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install csmith

Debian stable package indexes · csmith · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install csmith

Fedora Rawhide package metadata · csmith · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#csmith

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

openSUSE zyppervérifié · 92%
sudo zypper install csmith

openSUSE Tumbleweed package metadata · csmith · Source: download.opensuse.org

aperçu

Résumé du paquet

Generates random C programs conforming to the C99 standard

Commandes et alias

  • compiler_test.pl
  • csmith
  • launchn.pl

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 13 plateformes.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
compiler_test.plcliexécutable global
csmithcliexécutable global
launchn.plcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-08
version du gestionnaire2.3.0
gestionnaire mis à jour2026-06-19
données localesOK
amontà jour
dernière version détectéecsmith-2.3.0

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

  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:csmith
Version2.3.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/csmith
Page d'accueilhttps://github.com/csmith-project/csmith
Dépôthttps://github.com/csmith-project/csmith
Docs amonthttps://github.com/csmith-project/csmith#readme
LicenceBSD-2-Clause
Archive sourcehttps://github.com/csmith-project/csmith/archive/refs/tags/csmith-2.3.0.tar.gz
Dernière mise à jour2026-06-19T12:30:04-07:00
Pulseupdated
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré
PrécautionsIt is recommended that you set the environment variable 'CSMITH_PATH' to $HOMEBREW_CELLAR/csmith/2.3.0/include/csmith-2.3.0

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • normalized package name match
  • Correspondance par : 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 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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