On Tue, 8 Feb 2011, SF Markus Elfring wrote:
> > > I think that all you want is the ability to specify a function like;
> > > \(foo\|xxx\|yyy\)(...) {
> > I stumbled across the inability to use alternatives for function names
> > in exact this example pretty early. So...
> [...]
> > ...at least I do want that feature, yes. :)
>
> Your wish was fulfilled with the software release "Coccinelle 0.2.5-rc5".
> This improvement makes it easier and a bit more convenient to filter on a list
> with identifier alternatives.
>
> Does anybody know a completely documented list of functions that belong to an
> "application" programming interface like the Linux kernel?
> Are you interested to convert this documentation into a filter pattern that
> combines the known function names with checks for failure predicates?
I don't think such a list exists, or if it did exist that it would be
valid very long. By adapting iteration.cocci, you can collect functions
that indicate errors in various ways.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)