Package soot.toolkits.graph.pdg
Interface IRegion
-
public interface IRegionThis interface represents a region of control dependence in the control flow graph. There are different kinds of region representations that may slightly differ in definition or implementation; here is an interface that is expected to be supported by all these different regions.- Author:
- Hossein Sadat-Mohtasham Jan 2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChildRegion(IRegion chr)List<Block>getBlocks()List<IRegion>getChildRegions()UnitgetFirst()intgetID()UnitgetLast()IRegiongetParent()SootClassgetSootClass()SootMethodgetSootMethod()UnitGraphgetUnitGraph()List<Unit>getUnits()List<Unit>getUnits(Unit from, Unit to)booleanoccursBefore(Unit u1, Unit u2)voidsetParent(IRegion pr)
-
-
-
Method Detail
-
getSootMethod
SootMethod getSootMethod()
-
getSootClass
SootClass getSootClass()
-
getUnitGraph
UnitGraph getUnitGraph()
-
getLast
Unit getLast()
-
getFirst
Unit getFirst()
-
getID
int getID()
-
setParent
void setParent(IRegion pr)
-
getParent
IRegion getParent()
-
addChildRegion
void addChildRegion(IRegion chr)
-
-