a couple of developers expressed an interest in a port of coccinelle, I made a start but it doesn't work (even the simplest test reports 'No matches found') and knowing approximately 0 about ocaml, I have no clue how to even start to debug it.
I probably won't do anything with it now, so rather than duplicate work, if anyone's interested in picking this up, here's a tgz to get you started. $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c init_defs_builtins: /usr/local/share/coccinelle/standard.h HANDLING: demos/simple.c No matches found for f Skipping:demos/simple.c
coccinelle.tgz
Description: application/tar-gz
