[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5682c295-0c4a-41e9-bf80-fd14fd5c94db@web.de>
Date: Thu, 26 Jun 2025 13:18:54 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: cocci@...ia.fr, kernel-janitors@...r.kernel.org
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: Passing code replacements by APIs (for SmPL)?
> Would you become interested to convert contents from any header (or source) files
> into more advanced transformation approaches?
I demonstrated that expressions can be extracted from selected function implementations
also by the means of the semantic patch language.
https://lore.kernel.org/cocci/481faa1d-7171-4657-8dc0-c37b153e6eaa@web.de/
https://sympa.inria.fr/sympa/arc/cocci/2025-06/msg00044.html
Now I am looking again for further software extension possibilities.
1. I would like to sort found expressions by decreasing complexity.
2. Some expressions will probably refer to known function (or macro) calls.
How can corresponding identifiers be replaced by previously determined source code?
Regards,
Markus
Powered by blists - more mailing lists