public class PDGRegion extends Object implements IRegion, Iterable<PDGNode>
| Constructor and Description |
|---|
PDGRegion(int id,
List<PDGNode> nodes,
SootMethod m,
SootClass c,
UnitGraph ug,
PDGNode node) |
PDGRegion(int id,
SootMethod m,
SootClass c,
UnitGraph ug,
PDGNode node) |
PDGRegion(PDGNode node) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChildRegion(IRegion chr) |
void |
addPDGNode(PDGNode node) |
Object |
clone() |
List<Block> |
getBlocks() |
List<IRegion> |
getChildRegions() |
PDGNode |
getCorrespondingPDGNode() |
Unit |
getFirst() |
int |
getID() |
Unit |
getLast() |
List<PDGNode> |
getNodes() |
IRegion |
getParent() |
SootClass |
getSootClass() |
SootMethod |
getSootMethod() |
UnitGraph |
getUnitGraph() |
List<Unit> |
getUnits() |
List<Unit> |
getUnits(Unit from,
Unit to) |
Iterator<PDGNode> |
iterator()
return an iterator that know how to follow the control flow in a region.
|
boolean |
occursBefore(Unit u1,
Unit u2) |
void |
setParent(IRegion pr) |
String |
toString() |
PDGNode |
unit2PDGNode(Unit u) |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic PDGRegion(int id,
SootMethod m,
SootClass c,
UnitGraph ug,
PDGNode node)
public PDGRegion(int id,
List<PDGNode> nodes,
SootMethod m,
SootClass c,
UnitGraph ug,
PDGNode node)
public PDGRegion(PDGNode node)
public PDGNode getCorrespondingPDGNode()
public SootMethod getSootMethod()
getSootMethod in interface IRegionpublic SootClass getSootClass()
getSootClass in interface IRegionpublic UnitGraph getUnitGraph()
getUnitGraph in interface IRegionpublic Iterator<PDGNode> iterator()
public PDGNode unit2PDGNode(Unit u)
a - Statement within the regionpublic void addPDGNode(PDGNode node)
public boolean occursBefore(Unit u1, Unit u2)
occursBefore in interface IRegionpublic void addChildRegion(IRegion chr)
addChildRegion in interface IRegionpublic List<IRegion> getChildRegions()
getChildRegions in interface IRegionCopyright © 2020 Soot OSS. All rights reserved.