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
35 stars 3 forks source link

Subgraph DF Matching #626

Open EagleoutIce opened 10 months ago

EagleoutIce commented 10 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 10 months ago

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

EagleoutIce commented 10 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 9 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 9 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 9 months ago

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