Package sootup.core.graph
Class DominanceTree
java.lang.Object
sootup.core.graph.DominanceTree
This class is used to build a dominance tree for a BlockStmtGraph, which helps identify the
dominator-relationships among blocks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull List<BasicBlock<?>>
@NonNull List<BasicBlock<?>>
getChildren
(@NonNull BasicBlock<?> block) @Nullable BasicBlock<?>
getParent
(@NonNull BasicBlock<?> block) @NonNull BasicBlock<?>
getRoot()
void
replaceNode
(@NonNull BasicBlock<?> oldBlock, @NonNull BasicBlock<?> newBlock)
-
Constructor Details
-
DominanceTree
-
-
Method Details
-
getChildren
-
getParent
-
getRoot
-
replaceNode
-
getAllNodesDFS
-