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
-
Method Summary
Modifier and TypeMethodDescriptioniterateFieldsRead
(CGNode node) iterateFieldsWritten
(CGNode node) iterateNewSites
(CGNode node) boolean
recordFactoryType
(CGNode node, IClass klass) record that the "factory" method of a node should be interpreted to allocate a particular class.Methods inherited from class com.ibm.wala.ipa.callgraph.cha.ContextInsensitiveCHAContextInterpreter
iterateCallSites, understands
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ibm.wala.ipa.callgraph.cha.CHAContextInterpreter
iterateCallSites, understands
Methods inherited from interface com.ibm.wala.ipa.callgraph.propagation.SSAContextInterpreter
getCFG, getDU, getIR, getIRView, getNumberOfStatements
-
Constructor Details
-
ContextInsensitiveRTAInterpreter
-
-
Method Details
-
getAnalysisCache
-
iterateNewSites
- Specified by:
iterateNewSites
in interfaceCHAContextInterpreter
- Specified by:
iterateNewSites
in interfaceRTAContextInterpreter
- Overrides:
iterateNewSites
in classContextInsensitiveCHAContextInterpreter
- Returns:
- an Iterator of the types that may be allocated by a given method in a given context.
-
iterateFieldsRead
- Specified by:
iterateFieldsRead
in interfaceRTAContextInterpreter
- Returns:
- iterator of FieldReference
-
iterateFieldsWritten
- Specified by:
iterateFieldsWritten
in interfaceRTAContextInterpreter
- Returns:
- iterator of FieldReference
-
recordFactoryType
Description copied from interface:RTAContextInterpreter
record 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:
recordFactoryType
in interfaceRTAContextInterpreter
- Returns:
- true iff a NEW type was recorded, false if the type was previously recorded.
-