java.lang.Object
soot.jimple.infoflow.solver.gcSolver.fpc.AbstrationDependencyGraph<D>
- All Implemented Interfaces:
IGraph<heros.solver.Pair<soot.SootMethod,D>>
public class AbstrationDependencyGraph<D>
extends Object
implements IGraph<heros.solver.Pair<soot.SootMethod,D>>
-
Constructor Summary
Constructors
-
Method Summary
void
addEdge(heros.solver.Pair<soot.SootMethod,D> n1,
heros.solver.Pair<soot.SootMethod,D> n2)
void
addNode(heros.solver.Pair<soot.SootMethod,D> node)
boolean
contains(heros.solver.Pair<soot.SootMethod,D> node)
int
Set<heros.solver.Pair<soot.SootMethod,D>>
void
int
Set<heros.solver.Pair<soot.SootMethod,D>>
predsOf(heros.solver.Pair<soot.SootMethod,D> node)
Set<heros.solver.Pair<soot.SootMethod,D>>
void
remove(heros.solver.Pair<soot.SootMethod,D> node)
void
removeEdge(heros.solver.Pair<soot.SootMethod,D> n1,
heros.solver.Pair<soot.SootMethod,D> n2)
Set<heros.solver.Pair<soot.SootMethod,D>>
succsOf(heros.solver.Pair<soot.SootMethod,D> node)
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AbstrationDependencyGraph
public AbstrationDependencyGraph()
-
Method Details
-
getNodes
public Set<heros.solver.Pair<soot.SootMethod,D>> getNodes()
- Specified by:
getNodes in interface IGraph<D>
-
succsOf
public Set<heros.solver.Pair<soot.SootMethod,D>> succsOf(heros.solver.Pair<soot.SootMethod,D> node)
- Specified by:
succsOf in interface IGraph<D>
-
predsOf
public Set<heros.solver.Pair<soot.SootMethod,D>> predsOf(heros.solver.Pair<soot.SootMethod,D> node)
- Specified by:
predsOf in interface IGraph<D>
-
addNode
public void addNode(heros.solver.Pair<soot.SootMethod,D> node)
- Specified by:
addNode in interface IGraph<D>
-
addEdge
public void addEdge(heros.solver.Pair<soot.SootMethod,D> n1,
heros.solver.Pair<soot.SootMethod,D> n2)
- Specified by:
addEdge in interface IGraph<D>
-
contains
public boolean contains(heros.solver.Pair<soot.SootMethod,D> node)
- Specified by:
contains in interface IGraph<D>
-
removeEdge
public void removeEdge(heros.solver.Pair<soot.SootMethod,D> n1,
heros.solver.Pair<soot.SootMethod,D> n2)
- Specified by:
removeEdge in interface IGraph<D>
-
remove
public void remove(heros.solver.Pair<soot.SootMethod,D> node)
- Specified by:
remove in interface IGraph<D>
-
-
unlock
public void unlock()
-
nodeSize
public int nodeSize()
-
edgeSize
public int edgeSize()
-
reachableClosure
public Set<heros.solver.Pair<soot.SootMethod,D>> reachableClosure(heros.solver.Pair<soot.SootMethod,D> source)