Class EscapeCorrelation
java.lang.Object
com.ibm.wala.cast.js.ipa.callgraph.correlations.Correlation
com.ibm.wala.cast.js.ipa.callgraph.correlations.EscapeCorrelation
An escape correlation conservatively captures inter-procedural correlated pairs: for a dynamic
property read r of the form
e[p], if both the result of r and the value of
p flow into a function call c, we consider r and c to be a
correlated pair to account for the fact that the function called by c may perform a write
of property p.- Author:
- mschaefer
-
Constructor Summary
ConstructorsConstructorDescriptionEscapeCorrelation(AbstractReflectiveGet get, SSAAbstractInvokeInstruction invoke, String indexName, Set<String> flownThroughLocals) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(CorrelationVisitor<T> visitor) getEndPosition(SSASourcePositionMap positions) intgetStartPosition(SSASourcePositionMap positions) pp(SSASourcePositionMap positions) Methods inherited from class Correlation
getFlownThroughLocals, getIndexName
-
Constructor Details
-
EscapeCorrelation
public EscapeCorrelation(AbstractReflectiveGet get, SSAAbstractInvokeInstruction invoke, String indexName, Set<String> flownThroughLocals)
-
-
Method Details
-
getStartPosition
- Specified by:
getStartPositionin classCorrelation
-
getEndPosition
- Specified by:
getEndPositionin classCorrelation
-
getNumberOfArguments
public int getNumberOfArguments() -
pp
- Specified by:
ppin classCorrelation
-
accept
- Specified by:
acceptin classCorrelation
-