Skip to content

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

License

Notifications You must be signed in to change notification settings

philmd/coccinelle-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published