Class ArrayWithIndexPropagationRule
java.lang.Object
soot.jimple.infoflow.problems.rules.AbstractTaintPropagationRule
soot.jimple.infoflow.problems.rules.forward.ArrayPropagationRule
soot.jimple.infoflow.collections.problems.rules.forward.ArrayWithIndexPropagationRule
- All Implemented Interfaces:
IArrayContextProvider,ITaintPropagationRule
public class ArrayWithIndexPropagationRule
extends ArrayPropagationRule
implements IArrayContextProvider
-
Field Summary
Fields inherited from class soot.jimple.infoflow.problems.rules.AbstractTaintPropagationRule
manager, results, zeroValue -
Constructor Summary
ConstructorsConstructorDescriptionArrayWithIndexPropagationRule(InfoflowManager manager, Abstraction zeroValue, TaintPropagationResults results) -
Method Summary
Modifier and TypeMethodDescriptiongetContextForArrayRef(soot.jimple.ArrayRef arrayRef, soot.jimple.Stmt stmt) Returns the context definition for an arraypropagateNormalFlow(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll) Propagates a flow along a normal statement this is not a call or return siteMethods inherited from class soot.jimple.infoflow.problems.rules.forward.ArrayPropagationRule
propagateCallFlow, propagateCallToReturnFlow, propagateReturnFlowMethods inherited from class soot.jimple.infoflow.problems.rules.AbstractTaintPropagationRule
getAliasing, getManager, getResults, getZeroValue
-
Constructor Details
-
ArrayWithIndexPropagationRule
public ArrayWithIndexPropagationRule(InfoflowManager manager, Abstraction zeroValue, TaintPropagationResults results)
-
-
Method Details
-
propagateNormalFlow
public Collection<Abstraction> propagateNormalFlow(Abstraction d1, Abstraction source, soot.jimple.Stmt stmt, soot.jimple.Stmt destStmt, ByReferenceBoolean killSource, ByReferenceBoolean killAll) Description copied from interface:ITaintPropagationRulePropagates a flow along a normal statement this is not a call or return site- Specified by:
propagateNormalFlowin interfaceITaintPropagationRule- Overrides:
propagateNormalFlowin classArrayPropagationRule- Parameters:
d1- The context abstractionsource- The abstraction to propagate over the statementstmt- The statement at which to propagate the abstractiondestStmt- The next statement to which control flow will continue after processing stmtkillSource- Outgoing value for the rule to specify whether the incoming taint shall be killedkillAll- Outgoing value that receives whether all taints shall be killed and nothing shall be propagated onwards- Returns:
- The new abstractions to be propagated to the next statement
-
getContextForArrayRef
public ContainerContext[] getContextForArrayRef(soot.jimple.ArrayRef arrayRef, soot.jimple.Stmt stmt) Description copied from interface:IArrayContextProviderReturns the context definition for an array- Specified by:
getContextForArrayRefin interfaceIArrayContextProvider- Overrides:
getContextForArrayRefin classArrayPropagationRule- Parameters:
arrayRef- array reference- Returns:
- context definition
-