fixed a few minor issues with AST graphs

This commit is contained in:
ghidravore 2021-08-10 14:37:18 -04:00
parent fe6006c300
commit 269ca50d33
3 changed files with 10 additions and 10 deletions

View file

@ -77,7 +77,7 @@ public class GraphASTAndFlow extends GraphAST {
}
if (prev != null && map.containsKey(prev) && map.containsKey(next)) {
AttributedEdge edge = createEdge(map.get(prev), map.get(next));
edge.setEdgeType(TYPE_OUTPUT);
edge.setEdgeType(WITHIN_BLOCK);
}
prev = next;
}
@ -92,7 +92,7 @@ public class GraphASTAndFlow extends GraphAST {
PcodeBlock in = block.getIn(i);
if (last.containsKey(in)) {
AttributedEdge edge = createEdge(last.get(in), first.get(block));
edge.setEdgeType(TYPE_INPUT);
edge.setEdgeType(BETWEEN_BLOCK);
}
}
}