>>>>> "Paolo" == Paolo Bonzini <bonz...@gnu.org> writes:
Paolo> MELT looks extremely cool! You may want to use this too, however: Paolo> http://lwn.net/Articles/315686/ Yes, I'm also looking at Coccinelle and TreeHydra. As this is strictly a spare-time project, I am trying to find the approach that requires the least effort on my part. Coccinelle has the advantage that it is already packaged on Fedora. However, the documentation is not excellent (AFAICT there is a grammar and a bunch of examples, but nothing else) and that makes it difficult to use. Also it does not seem to handle GDB's heavily macroized code very well (maybe there's a way ... but again, the docs). TreeHydra looks very promising but it seems complicated to build. It wasn't clear which patches ought to be applied. I'm going to get it built one of these weeks... I was hoping that because all the code was on a branch, MELT would be the simplest to get working. Now I've spent more time on it than on the other two combined ;) Tom