Class DefaultSolverPeerGroup

java.lang.Object
soot.jimple.infoflow.solver.DefaultSolverPeerGroup
All Implemented Interfaces:
ISolverPeerGroup
Direct Known Subclasses:
GCSolverPeerGroup

public class DefaultSolverPeerGroup extends Object implements ISolverPeerGroup
Peer group for synchronizing multiple IFDS solvers. Manages the calling contexts.
Author:
Steven Arzt
  • Field Details

  • Constructor Details

    • DefaultSolverPeerGroup

      public DefaultSolverPeerGroup()
  • Method Details

    • addSolver

      public void addSolver(IInfoflowSolver solver)
      Description copied from interface: ISolverPeerGroup
      Add a solver to this peer group and notify the solver that it joined this peer group
      Specified by:
      addSolver in interface ISolverPeerGroup
      Parameters:
      solver - IFDS solver
    • incoming

      public Set<IncomingRecord<soot.Unit,Abstraction>> incoming(Abstraction d1, soot.SootMethod m)
      Description copied from interface: ISolverPeerGroup
      Gets the set of incoming abstractions
      Specified by:
      incoming in interface ISolverPeerGroup
      Parameters:
      d1 - calling context
      m - 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: ISolverPeerGroup
      Add a new record to the incoming set of a method
      Specified by:
      addIncoming in interface ISolverPeerGroup
      Parameters:
      m - method
      d3 - calling context
      n - call site
      d1 - calling context in caller
      d2 - incoming abstraction at call site
      Returns:
      true if the added record is new