spatch
semantic patching tool for C
Install
- All systems
-
curl cmd.cat/spatch.sh
- Debian
-
apt-get install coccinelle
- Ubuntu
-
apt-get install coccinelle
- Kali Linux
-
apt-get install coccinelle
- Fedora
-
dnf install coccinelle
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install coccinelle
- OS X
-
brew install coccinelle
- Raspbian
-
apt-get install coccinelle
- Dockerfile
- dockerfile.run/spatch
coccinelle
semantic patching tool for C
Coccinelle is a program matching and transformation tool for C. The programmer describes the code to match and the transformation to perform as a semantic patch, which looks like a standard patch, but can transform multiple files at any number of code sites.