Hi,
Is there any way with Coccinelle to abstract away intermittent functions calls
to find all functions with a specific code pattern which directly or indirectly
are called from a specific function? In example following find all functions
like fun_n which are calling a specific function foo and directly or indirectly
can be invoked from fun_1:
X fun_1(...){
…
fun_2();
...
}
Y fun_2(...){
…
fun_3();
...
}
…
M fun_m(...)
{
...
fun_n(...);
...
}
N fun_n(...){
…
foo();
...
}
Regards
Enayat
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)