From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Wed, 12 Sep 2018 08:00:08 +0200 Subject: [Cocci] Weird problem trying to match code inside a function In-Reply-To: References: Message-ID: <4fc4acde-96a7-941e-bfd2-2fcf5ce4eaed@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > Can you shed some light? Did you notice the following information in the manual for the semantic patch language? https://github.com/coccinelle/coccinelle/blob/dd206b29bf372a8f8e63ffe549f8184e10f2ea7e/docs/manual/cocci_syntax.tex#L1607 ?? All matching done by a SmPL rule is done intraprocedurally. ?? Can this trigger software development considerations when you try to add source code after a found function implementation? Regards, Markus