Class JvmTaintCpa
java.lang.Object
proguard.analysis.cpa.defaults.SimpleCpa<JvmAbstractState<SetAbstractState<TaintSource>>>
proguard.analysis.cpa.jvm.domain.taint.JvmTaintCpa
- All Implemented Interfaces:
ConfigurableProgramAnalysis<JvmAbstractState<SetAbstractState<TaintSource>>>
The
JvmTaintCpa computes abstract states containing TaintSources which can reach
the given code location.-
Constructor Summary
ConstructorsConstructorDescriptionJvmTaintCpa(Map<Signature, Set<TaintSource>> signaturesToSources, Map<MethodSignature, JvmTaintTransformer> taintTransformers, Map<Call, Set<JvmMemoryLocation>> extraTaintPropagationLocations, AbortOperator abortOperator) Create a taint CPA.JvmTaintCpa(Set<? extends TaintSource> sources) Create a taint CPA. -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<Signature,Set<TaintSource>> createSourcesMap(Set<? extends TaintSource> sources) Constructs a map from the source signatures to the sources with that signature, starting from a set of sources.Methods inherited from class proguard.analysis.cpa.defaults.SimpleCpa
getAbortOperator, getMergeOperator, getPrecisionAdjustment, getStopOperator, getTransferRelation
-
Constructor Details
-
JvmTaintCpa
Create a taint CPA.- Parameters:
sources- a set of taint sources
-
JvmTaintCpa
public JvmTaintCpa(Map<Signature, Set<TaintSource>> signaturesToSources, Map<MethodSignature, JvmTaintTransformer> taintTransformers, Map<Call, Set<JvmMemoryLocation>> extraTaintPropagationLocations, AbortOperator abortOperator) Create a taint CPA.- Parameters:
signaturesToSources- a mapping from method signature to taint sourcestaintTransformers- a mapping from method signature to a transformer object applied to the taint state when that method is invokedextraTaintPropagationLocations- a mapping from a specific method call to any jvm state location that is tainted as a result of the callabortOperator- an operator used to stop the analysis prematurely.
-
-
Method Details
-
createSourcesMap
Constructs a map from the source signatures to the sources with that signature, starting from a set of sources.
-