> 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