> >>>> expression *E1;
> >>>
> >>> That brings me one step further, but now I have "*&", e.g.,
> >>>
> >>> - f(a,b,&E,whatever)
> >>> + f(a,b,&E,sizeof(*&E))
> >>
> >> I think you would want sizeof(E)?
> I normally use a second rule to clean that one up
> @@
> expression E;
> @@
> - *&
>     E

This is a good option too.

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

Reply via email to