macOS
brew install coccinellelocal Homebrew formula metadata
sudo port install coccinelleMacPorts ports tree · devel/coccinelle/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de coccinelle pour les workflows d'agents IA.
installation
brew install coccinellelocal Homebrew formula metadata
sudo port install coccinelleMacPorts ports tree · devel/coccinelle/Portfile · Source: api.github.com
sudo apk add coccinelleAlpine Linux edge package indexes · coccinelle · Source: dl-cdn.alpinelinux.org
sudo apt install coccinelleDebian stable package indexes · coccinelle · Source: deb.debian.org
sudo dnf install coccinelleFedora Rawhide package metadata · coccinelle · Source: dl.fedoraproject.org
nix profile install nixpkgs#coccinellenixpkgs package indexes · coccinelle · Source: raw.githubusercontent.com
sudo zypper install coccinelleopenSUSE Tumbleweed package metadata · coccinelle · Source: download.opensuse.org
aperçu
Program matching and transformation engine for C code
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
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.
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>/.cocciconfigexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
spatch | cli | exécutable global | |
spgen | cli | exécutable global |
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.
https://coccinelle.gitlabpages.inria.fr/website/
métadonnées d'installation
| Clé du paquet | brew:coccinelle |
|---|---|
| Version | 1.3.1 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/coccinelle |
| Page d'accueil | https://coccinelle.gitlabpages.inria.fr/website/ |
| Dépôt | https://gitlab.inria.fr/coccinelle/coccinelle |
| Docs amont | https://coccinelle.gitlabpages.inria.fr/website |
| Licence | GPL-2.0-only |
| Archive source | https://coccinelle.gitlabpages.inria.fr/website/distrib/coccinelle-1.3.1.tar.gz |
| Dépendances de compilation | autoconf, automake, menhir, ocaml, ocaml-findlib |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 coccinellepiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.