Suvarna Garge (Editor)

Coccinelle (software)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Development status
  
Active

License
  
GNU GPL v2

Written in
  
OCaml and Python

Stable release
  
1.0.5 / June 2, 2016; 8 months ago (2016-06-02)

Repository
  
github.com/coccinelle/coccinelle

Type
  
Static program analysis

Coccinelle (French for ladybug) is an open-source utility for matching and transforming the source code of programs written in the C programming language. Coccinelle was initially used to aid the evolution of the Linux kernel, providing support for changes to library application programming interfaces (APIs) such as renaming a function, adding a function argument whose value is somehow context-dependent, and reorganizing a data structure. The source code to be matched or replaced is specified using a pattern very similar to C, called Semantic Patch Language.

Support for Coccinelle is provided by IRILL. Funding for the development has been provided by the Agence Nationale de la Recherche (France), the Danish Research Council for Technology and Production Sciences, and INRIA.

The source code of Coccinelle is licensed under the terms of version 2 of the GNU General Public License (GPL).

References

Coccinelle (software) Wikipedia