Package soot.jimple.infoflow.util
Class DebugAbstractionTree
java.lang.Object
soot.jimple.infoflow.util.DebugAbstractionTree
Creates a Graphviz/dot graph of a
Abstraction tree. Contains the
abstractions as well as its predecessors an neighbors- Author:
- Marc Miltenberger
-
Method Summary
Modifier and TypeMethodDescriptionstatic longcountNodes(Abstraction abs) Counts the nodes in an abstraction graphstatic StringcreateDotGraph(Abstraction absStart, boolean printNeighbors) Creates a dot graph with indices as labels for the abstractions (otherwise, it would be way too large).static StringcreateDotGraph(Abstraction absStart, boolean printNeighbors, boolean verbose) Creates a dot graph with indices as labels for the abstractions (otherwise, it would be way too large).
-
Method Details
-
createDotGraph
Creates a dot graph with indices as labels for the abstractions (otherwise, it would be way too large). The correspondence is printed to log.- Parameters:
absStart- start abstraction of the tree (root)printNeighbors- whether to print neighbors- Returns:
- the dot graph
-
createDotGraph
Creates a dot graph with indices as labels for the abstractions (otherwise, it would be way too large). The correspondence is printed to log.- Parameters:
absStart- start abstraction of the tree (root)printNeighbors- whether to print neighborsverbose- whether to print the access path and statement- Returns:
- the dot graph
-
countNodes
Counts the nodes in an abstraction graph- Parameters:
abs- abstraction to start with- Returns:
- number of nodes in the graph
-