Class AstContextInsensitiveSSAContextInterpreter
java.lang.Object
com.ibm.wala.ipa.callgraph.cha.ContextInsensitiveCHAContextInterpreter
com.ibm.wala.ipa.callgraph.propagation.rta.ContextInsensitiveRTAInterpreter
com.ibm.wala.ipa.callgraph.propagation.cfa.ContextInsensitiveSSAInterpreter
com.ibm.wala.cast.ipa.callgraph.AstContextInsensitiveSSAContextInterpreter
- All Implemented Interfaces:
CHAContextInterpreter, RTAContextInterpreter, SSAContextInterpreter
- Direct Known Subclasses:
ArgumentSpecialization.ArgumentSpecializationContextInterpreter, JavaScriptFunctionApplyContextInterpreter
A version of
ContextInsensitiveSSAInterpreter that uses the IR for iterateNewSites(CGNode) and iterateCallSites(CGNode) when we have an AstMethod. (ContextInsensitiveSSAInterpreter defaults to using CodeScanner,
which only works for bytecodes.)-
Field Summary
Fields inherited from class ContextInsensitiveSSAInterpreter
options -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class ContextInsensitiveSSAInterpreter
getCFG, getDU, getIR, getIRView, getNumberOfStatements, recordFactoryTypeMethods inherited from class ContextInsensitiveRTAInterpreter
getAnalysisCache, iterateFieldsRead, iterateFieldsWrittenMethods inherited from class ContextInsensitiveCHAContextInterpreter
understandsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CHAContextInterpreter
understandsMethods inherited from interface RTAContextInterpreter
iterateFieldsRead, iterateFieldsWritten
-
Constructor Details
-
AstContextInsensitiveSSAContextInterpreter
public AstContextInsensitiveSSAContextInterpreter(AnalysisOptions options, IAnalysisCacheView cache)
-
-
Method Details
-
understands
-
iterateNewSites
- Specified by:
iterateNewSitesin interfaceCHAContextInterpreter- Specified by:
iterateNewSitesin interfaceRTAContextInterpreter- Overrides:
iterateNewSitesin classContextInsensitiveRTAInterpreter- Returns:
- an Iterator of the types that may be allocated by a given method in a given context.
-
iterateCallSites
- Specified by:
iterateCallSitesin interfaceCHAContextInterpreter- Overrides:
iterateCallSitesin classContextInsensitiveCHAContextInterpreter- Returns:
- an Iterator of the call statements that may execute in a given method for a given context
-