public class JvmTaintCpa extends SimpleCpa<JvmAbstractState<SetAbstractState<JvmTaintSource>>>
JvmTaintCpa computes abstract states containing JvmTaintSources which can
reach the given code location.| Constructor and Description |
|---|
JvmTaintCpa(java.util.Map<Signature,java.util.Set<JvmTaintSource>> signaturesToSources,
java.util.Map<MethodSignature,JvmTaintTransformer> taintTransformers,
java.util.Map<Call,java.util.Set<JvmMemoryLocation>> extraTaintPropagationLocations,
AbortOperator abortOperator)
Create a taint CPA.
|
JvmTaintCpa(java.util.Set<? extends JvmTaintSource> sources)
Create a taint CPA.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<Signature,java.util.Set<JvmTaintSource>> |
createSourcesMap(java.util.Set<? extends JvmTaintSource> sources)
Since the used data structure is a map that uses the fqn as key, which is a parameter of the
TaintSources, this method constructs the map correctly starting from a set of sources. |
getAbortOperator, getMergeOperator, getPrecisionAdjustment, getStopOperator, getTransferRelationpublic JvmTaintCpa(java.util.Set<? extends JvmTaintSource> sources)
sources - a set of taint sourcespublic JvmTaintCpa(java.util.Map<Signature,java.util.Set<JvmTaintSource>> signaturesToSources, java.util.Map<MethodSignature,JvmTaintTransformer> taintTransformers, java.util.Map<Call,java.util.Set<JvmMemoryLocation>> extraTaintPropagationLocations, AbortOperator abortOperator)
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.public static java.util.Map<Signature,java.util.Set<JvmTaintSource>> createSourcesMap(java.util.Set<? extends JvmTaintSource> sources)
TaintSources, this method constructs the map correctly starting from a set of sources.