macOS
brew install coccinellelocal Homebrew formula metadata
sudo port install coccinelleMacPorts ports tree · devel/coccinelle/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für coccinelle in AI-Agent-Workflows.
Installation
brew install coccinellelocal Homebrew formula metadata
sudo port install coccinelleMacPorts ports tree · devel/coccinelle/Portfile · Quelle: api.github.com
sudo apk add coccinelleAlpine Linux edge package indexes · coccinelle · Quelle: dl-cdn.alpinelinux.org
sudo apt install coccinelleDebian stable package indexes · coccinelle · Quelle: deb.debian.org
sudo dnf install coccinelleFedora Rawhide package metadata · coccinelle · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#coccinellenixpkgs package indexes · coccinelle · Quelle: raw.githubusercontent.com
sudo zypper install coccinelleopenSUSE Tumbleweed package metadata · coccinelle · Quelle: download.opensuse.org
Überblick
Program matching and transformation engine for C code
Verlauf
Coccinelle is a program matching and transformation engine for C code, centered on SmPL, the Semantic Patch Language. In package-manager culture it is best known as the `spatch` tool used for large C tree transformations, especially in Linux kernel development.
The official INRIA site describes Coccinelle as a tool originally targeted at collateral evolutions in Linux: source-code updates required when library APIs change. It broadened from that origin into finding and fixing bugs in systems code.
The project has long had a research and systems-programming identity. The official site links papers, workshops, Linux impact pages, and SmPL grammar documentation, while the current GitLab project is hosted under INRIA.
Coccinelle's strongest adoption signal is Linux itself. The upstream Linux documentation has a dedicated Coccinelle page, describes the `make coccicheck` target, and says the semantic patches in the kernel require Coccinelle 1.0.0-rc11 or newer.
The Linux documentation also lists distribution availability through Debian, Fedora, Ubuntu, OpenSUSE, Arch Linux, Gentoo, NetBSD, and FreeBSD, while the input adds Homebrew, MacPorts, Nix, apk, dnf, and zypper.
The main executable is `spatch`. Users write semantic patches in SmPL and run them over a file, directory, or source tree to report matches or propose transformations.
In the Linux kernel workflow, `make coccicheck MODE=report` reports matches and `MODE=patch` proposes fixes. The kernel script wires Coccinelle into the build tree through `scripts/coccicheck` and `scripts/coccinelle`.
Coccinelle supports `.cocciconfig` files in the user's home directory, the current directory, and the directory passed with `--dir`, letting users set preferred `spatch` options.
Coccinelle is one of the more historically interesting developer-tool packages because it turns program transformation research into a packaged Unix CLI used by real infrastructure projects.
For package maintainers, it is a cross-distribution systems-code tool with an OCaml heritage, a Linux-kernel integration point, and a command (`spatch`) whose usefulness depends on both the executable and a corpus of semantic patches.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.cocciconfig./.cocciconfig<dir passed with --dir>/.cocciconfigExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
spatch | cli | globales Executable | |
spgen | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://coccinelle.gitlabpages.inria.fr/website/
Installationsmetadaten
| Paketschlüssel | brew:coccinelle |
|---|---|
| Version | 1.3.1 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/coccinelle |
| Homepage | https://coccinelle.gitlabpages.inria.fr/website/ |
| Repository | https://gitlab.inria.fr/coccinelle/coccinelle |
| Upstream-Dokumentation | https://coccinelle.gitlabpages.inria.fr/website |
| Lizenz | GPL-2.0-only |
| Quellarchiv | https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1.tar.gz |
| Build-Abhängigkeiten | autoconf, automake, menhir, ocaml, ocaml-findlib |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | coccinelle |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
coccinelle 1.3.0.deb-1+b2
semantic patching tool for C
sudo apt install coccinellecoccinelle
nix profile install nixpkgs#coccinellecoccinelle 1.1.1.deb-5build1
semantic patching tool for C
sudo apt install coccinellecoccinelle-doc 1.1.1.deb-5build1
documentation for coccinelle
sudo apt install coccinelle-doccoccinelle 1.1.1-r2
provides the spatch matching and transformation engine implementing semantic patch language
https://coccinelle.gitlabpages.inria.fr/website/
sudo apk add coccinellecoccinelle-bash-completion 1.1.1-r2
Bash completions for coccinelle
https://coccinelle.gitlabpages.inria.fr/website/
sudo apk add coccinelle-bash-completioncoccinelle-doc 1.1.1-r2
provides the spatch matching and transformation engine implementing semantic patch language (documentation)
https://coccinelle.gitlabpages.inria.fr/website/
sudo apk add coccinelle-doccoccinelle 1.3.1-7.fc45
Semantic patching for Linux (spatch)
sudo dnf install coccinellecoccinelle-bash-completion 1.3.1-7.fc45
Bash tab-completion for coccinelle
sudo dnf install coccinelle-bash-completioncoccinelle-doc 1.3.1-7.fc45
Documentation for coccinelle
sudo dnf install coccinelle-doccoccinelle-examples 1.3.1-7.fc45
Examples for coccinelle
sudo dnf install coccinelle-examplescoccinelle 1.3.1-2.3
Semantic patch utility
sudo zypper install coccinellecoccinelle
sudo port install coccinelleQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.