Class SolverReturnFlowFunction

java.lang.Object
soot.jimple.infoflow.solver.functions.SolverReturnFlowFunction
All Implemented Interfaces:
heros.FlowFunction<Abstraction>

public abstract class SolverReturnFlowFunction extends Object implements heros.FlowFunction<Abstraction>
A special implementation of the return flow function that allows access to the facts associated with the start points of the callees (i.e. the contexts to which we return).
Author:
Steven Arzt
  • Constructor Details

    • SolverReturnFlowFunction

      public SolverReturnFlowFunction()
  • Method Details

    • computeTargets

      public Set<Abstraction> computeTargets(Abstraction source)
      Specified by:
      computeTargets in interface heros.FlowFunction<Abstraction>
    • computeTargets

      public abstract Set<Abstraction> computeTargets(Abstraction source, Abstraction calleeD1, Collection<Abstraction> callerD1s)
      Computes the abstractions at the return site.
      Parameters:
      source - The abstraction at the exit node
      calleeD1 - The abstraction at the start point of the callee
      callerD1s - The abstractions at the start nodes of all methods to which we return (i.e. the contexts to which this flow function will be applied).
      Returns:
      The set of abstractions at the return site.