Class IdentityPropagationRuleManager

java.lang.Object
soot.jimple.infoflow.problems.rules.PropagationRuleManager
soot.jimple.infoflow.problems.rules.IdentityPropagationRuleManager

public class IdentityPropagationRuleManager extends PropagationRuleManager
A propagation rule manager that always performs the identity function
Author:
Steven Arzt
  • Field Details

  • Method Details

    • applyCallFlowFunction

      public Set<Abstraction> applyCallFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.SootMethod dest, ByReferenceBoolean killAll)
      Description copied from class: PropagationRuleManager
      Propagates a flow across a call site
      Overrides:
      applyCallFlowFunction in class PropagationRuleManager
      Parameters:
      d1 - The context abstraction
      source - The abstraction to propagate over the statement
      stmt - The statement at which to propagate the abstraction
      dest - The destination method into which to propagate the abstraction
      killAll - Outgoing value for the rule to specify whether all taints shall be killed, i.e., nothing shall be propagated
      Returns:
      The new abstractions to be propagated to the next statement
    • applyCallToReturnFlowFunction

      public Set<Abstraction> applyCallToReturnFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt)
      Description copied from class: PropagationRuleManager
      Applies all rules to the call-to-return flow function
      Overrides:
      applyCallToReturnFlowFunction in class PropagationRuleManager
      Parameters:
      d1 - The context abstraction
      source - The incoming taint to propagate over the given statement
      stmt - The statement to which to apply the rules
      Returns:
      The collection of outgoing taints
    • applyCallToReturnFlowFunction

      public Set<Abstraction> applyCallToReturnFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll, boolean noAddSource)
      Description copied from class: PropagationRuleManager
      Applies all rules to the call-to-return flow function
      Overrides:
      applyCallToReturnFlowFunction in class PropagationRuleManager
      Parameters:
      d1 - The context abstraction
      source - The incoming taint to propagate over the given statement
      stmt - The statement to which to apply the rules
      killSource - Outgoing value for the rule to indicate whether the incoming taint abstraction shall be killed
      Returns:
      The collection of outgoing taints
    • applyNormalFlowFunction

      public Set<Abstraction> applyNormalFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt)
      Description copied from class: PropagationRuleManager
      Applies all rules to the normal flow function
      Overrides:
      applyNormalFlowFunction in class PropagationRuleManager
      Parameters:
      d1 - The context abstraction
      source - The incoming taint to propagate over the given statement
      stmt - The statement to which to apply the rules
      destStmt - The next statement to which control flow will continue after processing stmt
      Returns:
      The collection of outgoing taints
    • applyNormalFlowFunction

      public Set<Abstraction> applyNormalFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll)
      Description copied from class: PropagationRuleManager
      Applies all rules to the normal flow function
      Overrides:
      applyNormalFlowFunction in class PropagationRuleManager
      Parameters:
      d1 - The context abstraction
      source - The incoming taint to propagate over the given statement
      stmt - The statement to which to apply the rules
      destStmt - The next statement to which control flow will continue after processing stmt
      killSource - Outgoing value for the rule to indicate whether the incoming taint abstraction shall be killed
      killAll - Outgoing value that receives whether all taints shall be killed and nothing shall be propagated onwards
      Returns:
      The collection of outgoing taints
    • applyReturnFlowFunction

      public Set<Abstraction> applyReturnFlowFunction(Collection<Abstraction> callerD1s, Abstraction calleeD1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt retSite, soot.jimple.Stmt callSite, ByReferenceBoolean killAll)
      Description copied from class: PropagationRuleManager
      Applies all rules to the return flow function
      Overrides:
      applyReturnFlowFunction in class PropagationRuleManager
      Parameters:
      callerD1s - The context abstraction at the caller side
      source - The incoming taint to propagate over the given statement
      stmt - The statement to which to apply the rules
      retSite - The return site to which the execution returns after leaving the current method
      callSite - The call site of the call from which we return
      killAll - Outgoing value for the rule to specify whether all taints shall be killed, i.e., nothing shall be propagated
      Returns:
      The collection of outgoing taints