How to Use? The usual way to try the coccinelle scripts is to use: spatch -sp-file {cocci script} --dir {path to linux codebase}