mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] Referencing local variables with SmPL?
@ 2026-09-21  6:38 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2026-09-21  6:38 UTC (permalink / raw)
  To: cocci, kernel-janitors, linux-hardening; +Cc: LKML

Hello,

Declarations (and definitions) of local variables tend to be required
for various control flows.
https://en.cppreference.com/c/language/declarations

Function implementations can occasionally use multiple variables with different scopes.
https://github.com/coccinelle/coccinelle/issues/322

Thus it seems to be challenging to refer to relevant data specifications
in a consistent way for source code search and transformation approaches also
by the means of the semantic patch language.
How will corresponding development ideas evolve?

Regards,
Markus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-21  6:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  6:38 [RFC] Referencing local variables with SmPL? Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®