> You can work on the prototype of the file.

Thanks for your SmPL example.


> This will not do as well as Alexander's solution, though, because it might 
> be that the prototype will be in a header file that Coccinelle cannot find.

What are such circumstances when the function signature can not be resolved as 
expected?


> But of course with Coccinelle you can do some transformation on the 
> identified function calls.

Can the data type of the return value be assigned to a SmPL meta-variable for 
further processing?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to