Class IdentityPropagationRuleManager
java.lang.Object
soot.jimple.infoflow.problems.rules.PropagationRuleManager
soot.jimple.infoflow.problems.rules.IdentityPropagationRuleManager
A propagation rule manager that always performs the identity function
- Author:
- Steven Arzt
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionapplyCallFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.SootMethod dest, ByReferenceBoolean killAll) Propagates a flow across a call siteapplyCallToReturnFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt) Applies all rules to the call-to-return flow functionapplyCallToReturnFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll, boolean noAddSource) Applies all rules to the call-to-return flow functionapplyNormalFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt) Applies all rules to the normal flow functionapplyNormalFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll) Applies all rules to the normal flow functionapplyReturnFlowFunction(Collection<Abstraction> callerD1s, Abstraction calleeD1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt retSite, soot.jimple.Stmt callSite, ByReferenceBoolean killAll) Applies all rules to the return flow functionMethods inherited from class soot.jimple.infoflow.problems.rules.PropagationRuleManager
getArrayContextProvider, getRules
-
Field Details
-
INSTANCE
-
-
Method Details
-
applyCallFlowFunction
public Set<Abstraction> applyCallFlowFunction(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.SootMethod dest, ByReferenceBoolean killAll) Description copied from class:PropagationRuleManagerPropagates a flow across a call site- Overrides:
applyCallFlowFunctionin classPropagationRuleManager- Parameters:
d1- The context abstractionsource- The abstraction to propagate over the statementstmt- The statement at which to propagate the abstractiondest- The destination method into which to propagate the abstractionkillAll- 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:PropagationRuleManagerApplies all rules to the call-to-return flow function- Overrides:
applyCallToReturnFlowFunctionin classPropagationRuleManager- Parameters:
d1- The context abstractionsource- The incoming taint to propagate over the given statementstmt- 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:PropagationRuleManagerApplies all rules to the call-to-return flow function- Overrides:
applyCallToReturnFlowFunctionin classPropagationRuleManager- Parameters:
d1- The context abstractionsource- The incoming taint to propagate over the given statementstmt- The statement to which to apply the ruleskillSource- 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:PropagationRuleManagerApplies all rules to the normal flow function- Overrides:
applyNormalFlowFunctionin classPropagationRuleManager- Parameters:
d1- The context abstractionsource- The incoming taint to propagate over the given statementstmt- The statement to which to apply the rulesdestStmt- 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:PropagationRuleManagerApplies all rules to the normal flow function- Overrides:
applyNormalFlowFunctionin classPropagationRuleManager- Parameters:
d1- The context abstractionsource- The incoming taint to propagate over the given statementstmt- The statement to which to apply the rulesdestStmt- The next statement to which control flow will continue after processing stmtkillSource- Outgoing value for the rule to indicate whether the incoming taint abstraction shall be killedkillAll- 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:PropagationRuleManagerApplies all rules to the return flow function- Overrides:
applyReturnFlowFunctionin classPropagationRuleManager- Parameters:
callerD1s- The context abstraction at the caller sidesource- The incoming taint to propagate over the given statementstmt- The statement to which to apply the rulesretSite- The return site to which the execution returns after leaving the current methodcallSite- The call site of the call from which we returnkillAll- 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
-