BSD Ports

devel/coccinelle 1.3.3 OpenBSD

program matching and transformation engine

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
dbe33f72a0
Categories
devel, lang/python

Description

Coccinelle is a program matching and transformation engine which provides the language SmPL (Semantic Patch Language) for specifying desired matches and transformations in C code.

Coccinelle was initially targeted towards performing collateral evolutions in Linux. Such evolutions comprise the changes that are needed in client code in response to evolutions in library APIs, and may include modifications such as renaming a function, adding a function argument whose value is somehow context-dependent, and reorganizing a data structure.

Beyond collateral evolutions, Coccinelle is successfully used (by INRIA and others) for finding and fixing bugs in systems code.

See also: http://home.regit.org/technical-articles/coccinelle-for-the-newbie/

In the other systems

The newest version among them is 1.3.3, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/coccinelle1.3.3 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-09-08
FreeBSDdevel/coccinelle1.3.1_1 behind since 2026-08-21none known-[email protected]2026-08-04
NetBSDdevel/coccinelle1.3.3 newestnone known-[email protected]2026-09-12
DragonFlydevel/coccinelle1.3 behind since 2026-08-21none known-[email protected]-
GhostBSDdevel/coccinelle1.3.1_1 behind since 2026-08-21no data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg_add coccinelle

From the ports tree:

cd /usr/ports/devel/coccinelle && make install

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Build dependencies 13
Run dependencies 5
Required by 1

Commit history 1

DateCommitCreditsLog message
dbe33f72a0 jsg update to coccinelle 1.3.3; ok daniel@