Class AbstractIFDSSolver<N,D extends FastSolverLinkedNode<D,N>>

java.lang.Object
soot.jimple.infoflow.solver.AbstractIFDSSolver<N,D>
Type Parameters:
N - node
D - data flow fact
Direct Known Subclasses:
FlowInsensitiveSolver, IFDSSolver, IFDSSolver, IFDSSolver

public class AbstractIFDSSolver<N,D extends FastSolverLinkedNode<D,N>> extends Object
Common superclass of all IFDS solvers.
  • Field Details

  • Constructor Details

    • AbstractIFDSSolver

      public AbstractIFDSSolver()
  • Method Details

    • setPredecessorShorteningMode

      public void setPredecessorShorteningMode(PredecessorShorteningMode mode)
      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

      protected D shortenPredecessors(D returnD, D incomingD, D calleeD, N currentUnit, N callSite)
      Shortens the predecessors of the first argument if configured.
      Parameters:
      returnD - data flow fact leaving the method, which predecessor chain should be shortened
      incomingD - incoming data flow fact at the call site
      calleeD - first data flow fact in the callee, i.e. with current statement == call site
      Returns:
      data flow fact with a shortened predecessor chain