public class OneLevelForLexicalAccessFunctions
extends java.lang.Object
implements com.ibm.wala.ipa.callgraph.ContextSelector
ArgumentInstanceContext on the function argument for functions that
perform lexical accesses (i.e., those functions represented by a ScopeMappingInstanceKeys.ScopeMappingInstanceKey). In essence, this guarantees that when a function is cloned according
to some ContextSelector, its nested functions that may do lexical accesses if its
variables have corresponding clones.| Constructor and Description |
|---|
OneLevelForLexicalAccessFunctions(com.ibm.wala.ipa.callgraph.ContextSelector baseSelector) |
| Modifier and Type | Method and Description |
|---|---|
com.ibm.wala.ipa.callgraph.Context |
getCalleeTarget(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site,
com.ibm.wala.classLoader.IMethod callee,
com.ibm.wala.ipa.callgraph.propagation.InstanceKey[] receiver) |
com.ibm.wala.util.intset.IntSet |
getRelevantParameters(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site) |
public OneLevelForLexicalAccessFunctions(com.ibm.wala.ipa.callgraph.ContextSelector baseSelector)
public com.ibm.wala.ipa.callgraph.Context getCalleeTarget(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site,
com.ibm.wala.classLoader.IMethod callee,
com.ibm.wala.ipa.callgraph.propagation.InstanceKey[] receiver)
getCalleeTarget in interface com.ibm.wala.ipa.callgraph.ContextSelectorpublic com.ibm.wala.util.intset.IntSet getRelevantParameters(com.ibm.wala.ipa.callgraph.CGNode caller,
com.ibm.wala.classLoader.CallSiteReference site)
getRelevantParameters in interface com.ibm.wala.ipa.callgraph.ContextSelector