Package soot.jimple.infoflow.solver
Class DefaultSolverPeerGroup
java.lang.Object
soot.jimple.infoflow.solver.DefaultSolverPeerGroup
- All Implemented Interfaces:
ISolverPeerGroup
- Direct Known Subclasses:
GCSolverPeerGroup
Peer group for synchronizing multiple IFDS solvers. Manages the calling contexts.
- Author:
- Steven Arzt
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final soot.util.ConcurrentHashMultiMap<heros.solver.Pair<soot.SootMethod,Abstraction>, IncomingRecord<soot.Unit, Abstraction>> protected Set<IInfoflowSolver> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddIncoming(soot.SootMethod m, Abstraction d3, soot.Unit n, Abstraction d1, Abstraction d2) Add a new record to the incoming set of a methodvoidaddSolver(IInfoflowSolver solver) Add a solver to this peer group and notify the solver that it joined this peer groupSet<IncomingRecord<soot.Unit,Abstraction>> incoming(Abstraction d1, soot.SootMethod m) Gets the set of incoming abstractions
-
Field Details
-
incoming
protected final soot.util.ConcurrentHashMultiMap<heros.solver.Pair<soot.SootMethod,Abstraction>, incomingIncomingRecord<soot.Unit, Abstraction>> -
solvers
-
-
Constructor Details
-
DefaultSolverPeerGroup
public DefaultSolverPeerGroup()
-
-
Method Details
-
addSolver
Description copied from interface:ISolverPeerGroupAdd a solver to this peer group and notify the solver that it joined this peer group- Specified by:
addSolverin interfaceISolverPeerGroup- Parameters:
solver- IFDS solver
-
incoming
Description copied from interface:ISolverPeerGroupGets the set of incoming abstractions- Specified by:
incomingin interfaceISolverPeerGroup- Parameters:
d1- calling contextm- method- Returns:
- set of incoming abstractions
-
addIncoming
public boolean addIncoming(soot.SootMethod m, Abstraction d3, soot.Unit n, Abstraction d1, Abstraction d2) Description copied from interface:ISolverPeerGroupAdd a new record to the incoming set of a method- Specified by:
addIncomingin interfaceISolverPeerGroup- Parameters:
m- methodd3- calling contextn- call sited1- calling context in callerd2- incoming abstraction at call site- Returns:
- true if the added record is new
-