Class ContextInsensitiveRTAInterpreter
java.lang.Object
com.ibm.wala.ipa.callgraph.cha.ContextInsensitiveCHAContextInterpreter
com.ibm.wala.ipa.callgraph.propagation.rta.ContextInsensitiveRTAInterpreter
- All Implemented Interfaces:
CHAContextInterpreter, RTAContextInterpreter, SSAContextInterpreter
- Direct Known Subclasses:
ContextInsensitiveSSAInterpreter
public abstract class ContextInsensitiveRTAInterpreter
extends ContextInsensitiveCHAContextInterpreter
implements RTAContextInterpreter, SSAContextInterpreter
Default implementation of MethodContextInterpreter for context-insensitive analysis
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioniterateFieldsRead(CGNode node) iterateFieldsWritten(CGNode node) iterateNewSites(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 ContextInsensitiveCHAContextInterpreter
iterateCallSites, understandsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CHAContextInterpreter
iterateCallSites, understandsMethods inherited from interface SSAContextInterpreter
getCFG, getDU, getIR, getIRView, getNumberOfStatements
-
Constructor Details
-
ContextInsensitiveRTAInterpreter
-
-
Method Details
-
getAnalysisCache
-
iterateNewSites
- Specified by:
iterateNewSitesin interfaceCHAContextInterpreter- Specified by:
iterateNewSitesin interfaceRTAContextInterpreter- Overrides:
iterateNewSitesin classContextInsensitiveCHAContextInterpreter- Returns:
- an Iterator of the types that may be allocated by a given method in a given context.
-
iterateFieldsRead
- Specified by:
iterateFieldsReadin interfaceRTAContextInterpreter- Returns:
- iterator of FieldReference
-
iterateFieldsWritten
- Specified by:
iterateFieldsWrittenin interfaceRTAContextInterpreter- Returns:
- iterator of FieldReference
-
recordFactoryType
Description copied from interface:RTAContextInterpreterrecord that the "factory" method of a node should be interpreted to allocate a particular class.TODO: this is a little ugly, is there a better place to move this?
- Specified by:
recordFactoryTypein interfaceRTAContextInterpreter- Returns:
- true iff a NEW type was recorded, false if the type was previously recorded.
-