Package soot.jimple.infoflow.solver
Class AbstractIFDSSolver<N,D extends FastSolverLinkedNode<D,N>>
java.lang.Object
soot.jimple.infoflow.solver.AbstractIFDSSolver<N,D>
- Type Parameters:
N- nodeD- data flow fact
- Direct Known Subclasses:
FlowInsensitiveSolver,IFDSSolver,IFDSSolver,IFDSSolver
Common superclass of all IFDS solvers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets whether abstractions on method returns shall be connected to the respective call abstractions to shortcut paths.protected DShortens the predecessors of the first argument if configured.
-
Field Details
-
shorteningMode
-
-
Constructor Details
-
AbstractIFDSSolver
public AbstractIFDSSolver()
-
-
Method Details
-
setPredecessorShorteningMode
Sets whether abstractions on method returns shall be connected to the respective call abstractions to shortcut paths.- Parameters:
mode- The strategy to use for shortening predecessor paths
-
shortenPredecessors
Shortens the predecessors of the first argument if configured.- Parameters:
returnD- data flow fact leaving the method, which predecessor chain should be shortenedincomingD- incoming data flow fact at the call sitecalleeD- first data flow fact in the callee, i.e. with current statement == call site- Returns:
- data flow fact with a shortened predecessor chain
-