From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Sat, 6 Jan 2018 18:18:10 +0100 Subject: [Cocci] Automatic generation of SmPL rules by a script rule In-Reply-To: References: Message-ID: <5fb3bd3a-d78d-7d2c-050f-146887838d95@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > The simplest thing would be to just print the rule you want in a > python/ocaml script rule. I would like to adjust a SmPL execution environment for special use cases somehow. How would ?printing? be useful here? > Some support was added at one point for generating rules based on matches > from other rules, Such information sounds promising. > but that code has not been maintained, and I don't think it is likely > to be updated in the future. I am curious if there are still any chances to revive corresponding approaches. Is it safer therefore to generate advanced SmPL script files by external software tools (at the moment)? Regards, Markus