On Tue, 29 Sep 2015, Michael McConville wrote:

> Julia Lawall wrote:
> > On Tue, 29 Sep 2015, Michael McConville wrote:
> > > This is probably a simple question. I'm trying to find all uses of
> > > the preproc define M_WAITOK used in the second argument of malloc()
> > > or mallocarray(). It may be or'd with other flags in any order.
> >
> > malloc(e1, M_WAITOK | ...)
>
> Right, thanks. I was trying to get too fancy by using a disjunction.
> I'll just make separate rules for malloc and mallocarray.

Disjunction should be ok too.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to