Re: Coccinelle: Improving software components around usage of SmPL disjunctions

From: Markus Elfring
Date: Sun Jun 07 2020 - 02:43:11 EST


>> But hiding information that could be apparent to the SmPL compiler
>> and could be used to improve the performance of the matching
>> process is not one of them.
>
> Will any software extensions become possible also in this area?

You pointed out that SmPL disjunctions can trigger specific consequences
according to functionality which is different from SmPL constraints.
Both application areas support data processing for function name lists
to some degree.
Each element of a SmPL disjunction refers to a fragment of a detailed
source code search pattern. We are discussing use cases where a search
pattern is occasionally restricted in the way that only identifiers
should be found at a specific place.

* Does this detail provide the opportunity to improve the corresponding
software any more?

* Can a feature request like âWorking with variables for case match
identification by SmPL disjunctionsâ become more interesting?
https://github.com/coccinelle/coccinelle/issues/159

Regards,
Markus