public abstract class AbstractMVFG extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<Object> |
csNodes |
protected OCG |
hg |
protected Map<Object,Set<TranEdge>> |
inEdges |
protected SootMethod |
method |
static Map<SootMethod,AbstractMVFG> |
method2VFG |
protected Map<Object,Set<TranEdge>> |
outEdges |
protected PTA |
prePTA |
protected Set<Object> |
sparkNodes |
protected int |
total_edge_count |
| Constructor and Description |
|---|
AbstractMVFG(PTA prePTA,
OCG hg,
SootMethod method) |
| Modifier and Type | Method and Description |
|---|---|
protected 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 |
computeNodesInPrecisionLossPatterns() |
static AbstractMVFG |
findMethodVFG(SootMethod method) |
Collection<Object> |
getAllNodes() |
Collection<Object> |
getCSNodes() |
int |
getTotalEdgeCount() |
int |
getTotalNodeCount() |
protected abstract boolean |
satisfyAddingStoreCondition(int paramIndex,
Set<SootMethod> targets) |
protected abstract boolean |
statisfyAddingLoadCondition(Set<SootMethod> targets) |
public static Map<SootMethod,AbstractMVFG> method2VFG
protected final PTA prePTA
protected final OCG hg
protected final SootMethod method
protected int total_edge_count
public AbstractMVFG(PTA prePTA, OCG hg, SootMethod method)
public static AbstractMVFG findMethodVFG(SootMethod method)
public Collection<Object> getAllNodes()
public int getTotalNodeCount()
public int getTotalEdgeCount()
public Collection<Object> getCSNodes()
protected void addNormalEdge(TranEdge edge)
protected void addNewEdge(AllocNode from, LocalVarNode to)
protected void addCSLikelyEdge(AllocNode heap)
protected void addAssignEdge(LocalVarNode from, LocalVarNode to)
protected void addStoreEdge(LocalVarNode from, LocalVarNode base)
protected void addLoadEdge(LocalVarNode base, LocalVarNode to)
protected void buildVFG()
protected abstract boolean statisfyAddingLoadCondition(Set<SootMethod> targets)
protected abstract boolean satisfyAddingStoreCondition(int paramIndex,
Set<SootMethod> targets)
public void computeNodesInPrecisionLossPatterns()
Copyright © 2024 Soot OSS. All rights reserved.