Re: Passing code replacements by APIs (for SmPL)?
From: Markus Elfring
Date: Thu Jun 26 2025 - 07:19:52 EST
> 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@xxxxxx/
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