Coccinelle

Installation

Packages exist for several distributions:

You can find Coccinelle’s source code at GitHub, or clone the repository with:

git clone https://github.com/coccinelle/coccinelle.git

More details available on Coccinelle’s website.

Tutorials

Work in progress, comments welcomed via the following form.

How to use Coccinelle to find bugs:

How to use Coccinelle to fix bugs:

Advanced usages:

Documentation

A detailed specification of SmPL’s grammar here.
The official website page on documentation.

Useful links

Official website
Source Code: https://github.com/coccinelle/coccinelle
Semantic patches examples, use GitHub research tool to find usage examples of different grammatical structures.
Coccinelle’s mailing list, ask your questions there.

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.