flowr-analysis / flowr

A program slicer and dataflow analyzer for the R programming language.
https://github.com/flowr-analysis/flowr/wiki
GNU General Public License v3.0
16 stars 2 forks source link

Subgraph DF Matching #626

Open EagleoutIce opened 7 months ago

EagleoutIce commented 7 months ago

Implement a graph comparisons which allows one graph to be a subgraph of the other. This allows us to express fragments of the DF graph. On that note:

EagleoutIce commented 7 months ago

additionally we want to have behavioral equivalence tests checking df dependencies with real execution of known files.

EagleoutIce commented 7 months ago

i.e., execute the code and check that the output is the same as the DF dependence suggests with abstract interpretation we want to further check if all intervals domains are met

EagleoutIce commented 6 months ago

Furthermore it would be nice if ids could be mapped so that i can write '14' for vertex and edges in the subgraph to test for even if flowR changes the id system or the code is extended etc...

EagleoutIce commented 6 months ago

How about a query like .canReach('14', '22', [EdgeType.Reads]) to indicate that vertex 14 can reach 22 only with reads edges.

EagleoutIce commented 6 months ago

:cloud: future dream: a way to search other code with wildcard dataflow subgraphs.