> I couldn't find a way to do that from the first rule, so I whitelisted
> send_drop_notify() with a second rule (rule2 below). That seems rather
> cumbersome and I'm wondering if there's maybe a simpler approach?

Do you find the following source code search approach helpful for
your software development needs?

@display@
identifier fn != send_drop_notify;
type t;
@@
 t fn(...)
 {
 ... when any
(ep_tail_call(...);
 ... when forall
 return DROP_MISSED_TAIL_CALL;
|
*ep_tail_call(...);
)
 ... when any
 }


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

Reply via email to