Sign inSign up

philmd/coccinelle

By philmd

•Updated over 9 years ago

Coccinelle (spatch) is a program matching and transformation tool for C.

Image
0

10K+

philmd/coccinelle repository overview

⁠coccinelle-docker

Dockerized Coccinelle⁠ spatch (matching and transformation tool for C).

⁠Installation

Automated builds of the image are available on Dockerhub⁠ and is the recommended method of installation.

Download:

docker pull philmd/coccinelle:latest

Run spatch:

docker run --rm -v `pwd`:`pwd` -w `pwd` -u `id -u` \
	philmd/coccinelle:latest
			--sp-file myscript.cocci \
			--macro-file mymacro.h \
			--in-place \
			myfile.c

Build the image yourself:

docker build -t philmd/coccinelle github.com/philmd/docker-coccinelle

Tag summary

Content type

Image

Digest

Size

157.6 MB

Last updated

over 9 years ago

docker pull philmd/coccinelle