Package qilin.pta.toolkits.turner
Class AbstractMVFG
java.lang.Object
qilin.pta.toolkits.turner.AbstractMVFG
- Direct Known Subclasses:
MethodVFG
,ModularMVFG
-
Field Summary
Modifier and TypeFieldDescriptionprotected final OCG
protected final SootMethod
static Map<SootMethod,
AbstractMVFG> protected final PTA
protected int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAssignEdge
(LocalVarNode from, LocalVarNode to) protected void
addCSLikelyEdge
(AllocNode heap) protected void
addLoadEdge
(LocalVarNode base, LocalVarNode to) protected void
addNewEdge
(AllocNode from, LocalVarNode to) protected void
addNormalEdge
(TranEdge edge) protected void
addStoreEdge
(LocalVarNode from, LocalVarNode base) protected void
buildVFG()
void
static AbstractMVFG
findMethodVFG
(SootMethod method) int
int
protected abstract boolean
satisfyAddingStoreCondition
(int paramIndex, Set<SootMethod> targets) protected abstract boolean
statisfyAddingLoadCondition
(Set<SootMethod> targets)
-
Field Details
-
method2VFG
-
prePTA
-
hg
-
method
-
sparkNodes
-
csNodes
-
outEdges
-
inEdges
-
total_edge_count
protected int total_edge_count
-
-
Constructor Details
-
AbstractMVFG
-
-
Method Details
-
findMethodVFG
-
getAllNodes
-
getTotalNodeCount
public int getTotalNodeCount() -
getTotalEdgeCount
public int getTotalEdgeCount() -
getCSNodes
-
addNormalEdge
-
addNewEdge
-
addCSLikelyEdge
-
addAssignEdge
-
addStoreEdge
-
addLoadEdge
-
buildVFG
protected void buildVFG() -
statisfyAddingLoadCondition
-
satisfyAddingStoreCondition
-
computeNodesInPrecisionLossPatterns
public void computeNodesInPrecisionLossPatterns()
-