public class RegionAnalysis extends Object
Modifier and Type | Field and Description |
---|---|
protected Hashtable<Block,Region> |
m_block2region |
protected BlockGraph |
m_blockCFG |
protected UnitGraph |
m_cfg |
protected SootClass |
m_class |
protected SootMethod |
m_method |
protected Body |
m_methodBody |
protected Hashtable<Integer,Region> |
m_regions |
protected List<Region> |
m_regionsList |
protected BlockGraph |
m_reverseBlockCFG |
protected UnitGraph |
m_reverseCFG |
protected Region |
m_topLevelRegion |
Constructor and Description |
---|
RegionAnalysis(UnitGraph cfg,
SootMethod m,
SootClass c) |
Modifier and Type | Method and Description |
---|---|
static String |
CFGtoString(DirectedGraph<Block> cfg,
boolean blockDetail) |
protected Region |
createRegion(int id)
Create a region
|
Hashtable<Block,Region> |
getBlock2RegionMap() |
BlockGraph |
getBlockCFG() |
DominatorTree<Block> |
getDominatorTree() |
DominatorTree<Block> |
getPostDominatorTree() |
List<Region> |
getRegions() |
Region |
getTopLevelRegion() |
Hashtable<Unit,Region> |
getUnit2RegionMap() |
void |
reset() |
protected SootClass m_class
protected SootMethod m_method
protected Body m_methodBody
protected UnitGraph m_cfg
protected UnitGraph m_reverseCFG
protected BlockGraph m_blockCFG
protected BlockGraph m_reverseBlockCFG
protected Region m_topLevelRegion
public RegionAnalysis(UnitGraph cfg, SootMethod m, SootClass c)
public BlockGraph getBlockCFG()
public DominatorTree<Block> getPostDominatorTree()
public DominatorTree<Block> getDominatorTree()
public void reset()
protected Region createRegion(int id)
public Region getTopLevelRegion()
public static String CFGtoString(DirectedGraph<Block> cfg, boolean blockDetail)
Copyright © 2020 Sable. All rights reserved.