Re: [v3] Coccinelle: semantic code search for âuse after ââ

From: Markus Elfring
Date: Thu Jul 18 2019 - 08:55:12 EST


> Finally, this patch finds use-after-free issues for a node.
> (implemented by the r_use_after_put rule)

I suggest to take another look also at information from a clarification attempt
on a topic like âChecking statement order for patch generation with SmPL supportâ.
https://systeme.lip6.fr/pipermail/cocci/2017-September/004483.html
https://lore.kernel.org/cocci/alpine.DEB.2.20.1709071519240.3168@hadrien/

Under which circumstances will it become safer to develop SmPL script variants
for such source code search patterns?

Regards,
Markus