Class EscapeCorrelation
- java.lang.Object
-
- com.ibm.wala.cast.js.ipa.callgraph.correlations.Correlation
-
- com.ibm.wala.cast.js.ipa.callgraph.correlations.EscapeCorrelation
-
public class EscapeCorrelation extends Correlation
An escape correlation conservatively captures inter-procedural correlated pairs: for a dynamic property read r of the forme[p], if both the result of r and the value ofpflow 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 propertyp.
-
-
Constructor Summary
Constructors Constructor Description EscapeCorrelation(com.ibm.wala.cast.ir.ssa.AbstractReflectiveGet get, com.ibm.wala.ssa.SSAAbstractInvokeInstruction invoke, java.lang.String indexName, java.util.Set<java.lang.String> flownThroughLocals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(CorrelationVisitor<T> visitor)com.ibm.wala.cast.tree.CAstSourcePositionMap.PositiongetEndPosition(SSASourcePositionMap positions)intgetNumberOfArguments()com.ibm.wala.cast.tree.CAstSourcePositionMap.PositiongetStartPosition(SSASourcePositionMap positions)java.lang.Stringpp(SSASourcePositionMap positions)-
Methods inherited from class com.ibm.wala.cast.js.ipa.callgraph.correlations.Correlation
getFlownThroughLocals, getIndexName
-
-
-
-
Method Detail
-
getStartPosition
public com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getStartPosition(SSASourcePositionMap positions)
- Specified by:
getStartPositionin classCorrelation
-
getEndPosition
public com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getEndPosition(SSASourcePositionMap positions)
- Specified by:
getEndPositionin classCorrelation
-
getNumberOfArguments
public int getNumberOfArguments()
-
pp
public java.lang.String pp(SSASourcePositionMap positions)
- Specified by:
ppin classCorrelation
-
accept
public <T> T accept(CorrelationVisitor<T> visitor)
- Specified by:
acceptin classCorrelation
-
-