On Thu, 10 Oct 2019, Markus Elfring wrote: > > Why not just > > > > x = kmemdup(...); > > ... when != x > > I find this SmPL code exclusion specification too generic for the use case. > I would like to detect that a corresponding null pointer check would be > missing > (before the data can be used for further data processing). * x = kmemdup(...); ... when != x ( x->f | f(...,<+...x...+>,...) ) If this gives a parse error, put ... when any at the very end. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
- [Cocci] Software analysis with SmPL around unchecked functi... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around uncheck... Julia Lawall
- Re: [Cocci] Software analysis with SmPL around unc... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around... Julia Lawall
- Re: [Cocci] Software analysis with SmPL ar... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis wit... Markus Elfring
- Re: [Cocci] Software analysis... Julia Lawall
- Re: [Cocci] Software analysis... Markus Elfring
- Re: [Cocci] Software analysis... Markus Elfring
- Re: [Cocci] Software analysis... Markus Elfring
- Re: [Cocci] Software analysis with SmPL ar... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around unc... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around... Julia Lawall
