You can match against function prototypes.
It seems that I failed to specify the desired selection in my filter pattern.
Which SmPL wording would you like to recommend for this purpose?
You start your semantic patch by matching against function calls. If you
then use a variable that is derived from that rule, you will at most get
information about called functions. If you want to find out about all
functions, you have to start by matching against all functions. Then you
can have other rules that detct properties of these functionsin various
ways.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)