On 29/02/2012 09:10, Eric Noulard wrote:
2012/2/29 David Wagner<[email protected]>:
Hello,
I have been trying to find a tool that would allow to perform queries on C
code such as "what are the values, in all the codebase, that are passed as
second argument of 'func' ?".
[...]
Any pointer would be greatly welcome.
If your requests are not too complicated you can try "coccigrep"
as well it is "semantic grep" which uses coccinelle spatch.
see: http://home.regit.org/software/coccigrep/
Hi Eric,
That looks cool too ! I would be able to easily reuse an spatch in Vim
... neat.
Thanks !
David.
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)