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, recordFactoryTypeModifier and TypeMethodDescriptionintgetNumberOfStatements(CGNode node) booleanrecordFactoryType(CGNode node, IClass klass) record that the "factory" method of a node should be interpreted to allocate a particular class.Methods inherited from class ContextInsensitiveRTAInterpreter
getAnalysisCache, iterateFieldsRead, iterateFieldsWrittenModifier and TypeMethodDescriptioniterateFieldsRead(CGNode node) iterateFieldsWritten(CGNode node) Methods inherited from class ContextInsensitiveCHAContextInterpreter
understandsModifier and TypeMethodDescriptionbooleanunderstands(CGNode node) Does this object understand the given method? The caller had better check this before inquiring on other properties.
-
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
-