Built: about 1 month ago
Size: 1.69 MB
Home page: http://coccinelle.lip6.fr/
Summary: Semantic patching for Linux (spatch)
Coccinelle (French for "ladybug") is a utility for matching and transforming
the source code of programs written in the C programming language.
The source code to be matched or replaced is specified using
a "semantic patch" syntax based on the patch syntax.
The Semantic Patch Language (SmPL) pattern resembles a unified diff
with C-like declarations.
Coccinelle was initially used to aid the evolution of the Linux kernel
(and ease the maintenance of device drivers), providing support for
changes to APIs such as renaming a function, adding a function
argument whose value is somehow context-dependent, and reorganizing a
It can also be used to find bad programming patterns in code (i.e.,
pieces of code that are erroneous with high probability such as
possible NULL pointer dereference) without transforming them.
(Then coccinelle's role is close to that of static analysis tools.)
List of contributors:
- Update to 1.1.0 (2021-02-24).2021-02-25 Vitaly Chikunov 1.0.8-alt9
- Update to 0e1f2b1f (2021-02-19). - Add score tests in %check.2020-10-12 Anton Farygin 1.0.8-alt8
- added patch for build with new menhir, based on upstream commit 4bffe71