On Sat, 6 Jan 2018, SF Markus Elfring wrote:

> Hello,
>
> Is it possible to generate additional rules for a specific execution 
> environment
> of the semantic patch language by an advanced script rule?
>
> Can a special rule generation be avoided from external software tools?

The simplest thing would be to just print the rule you want in a
python/ocaml script rule.  Some support was added at one point for
generating rules based on matches from other rules, but that code has not
been maintained, and I don't think it is likely to be updated in the
future.

julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to