Class JavaScriptFunctionApplyContextInterpreter

  • All Implemented Interfaces:
    com.ibm.wala.ipa.callgraph.cha.CHAContextInterpreter, com.ibm.wala.ipa.callgraph.propagation.rta.RTAContextInterpreter, com.ibm.wala.ipa.callgraph.propagation.SSAContextInterpreter

    public class JavaScriptFunctionApplyContextInterpreter
    extends com.ibm.wala.cast.ipa.callgraph.AstContextInsensitiveSSAContextInterpreter
    TODO cache generated IRs
    See Also:
    MDN Function.apply() docs
    • Field Summary

      • Fields inherited from class com.ibm.wala.ipa.callgraph.propagation.cfa.ContextInsensitiveSSAInterpreter

        options
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaScriptFunctionApplyContextInterpreter​(com.ibm.wala.ipa.callgraph.AnalysisOptions options, com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.ibm.wala.ssa.DefUse getDU​(com.ibm.wala.ipa.callgraph.CGNode node)  
      com.ibm.wala.ssa.IR getIR​(com.ibm.wala.ipa.callgraph.CGNode node)  
      boolean understands​(com.ibm.wala.ipa.callgraph.CGNode node)  
      • Methods inherited from class com.ibm.wala.cast.ipa.callgraph.AstContextInsensitiveSSAContextInterpreter

        iterateCallSites, iterateNewSites, understands
      • Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.cfa.ContextInsensitiveSSAInterpreter

        getCFG, getIRView, getNumberOfStatements, recordFactoryType
      • Methods inherited from class com.ibm.wala.ipa.callgraph.propagation.rta.ContextInsensitiveRTAInterpreter

        getAnalysisCache, iterateFieldsRead, iterateFieldsWritten
      • 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.propagation.rta.RTAContextInterpreter

        iterateFieldsRead, iterateFieldsWritten
    • Constructor Detail

      • JavaScriptFunctionApplyContextInterpreter

        public JavaScriptFunctionApplyContextInterpreter​(com.ibm.wala.ipa.callgraph.AnalysisOptions options,
                                                         com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)
    • Method Detail

      • understands

        public boolean understands​(com.ibm.wala.ipa.callgraph.CGNode node)
        Specified by:
        understands in interface com.ibm.wala.ipa.callgraph.cha.CHAContextInterpreter
        Overrides:
        understands in class com.ibm.wala.ipa.callgraph.cha.ContextInsensitiveCHAContextInterpreter
      • getIR

        public com.ibm.wala.ssa.IR getIR​(com.ibm.wala.ipa.callgraph.CGNode node)
        Specified by:
        getIR in interface com.ibm.wala.ipa.callgraph.propagation.SSAContextInterpreter
        Overrides:
        getIR in class com.ibm.wala.ipa.callgraph.propagation.cfa.ContextInsensitiveSSAInterpreter
      • getDU

        public com.ibm.wala.ssa.DefUse getDU​(com.ibm.wala.ipa.callgraph.CGNode node)
        Specified by:
        getDU in interface com.ibm.wala.ipa.callgraph.propagation.SSAContextInterpreter
        Overrides:
        getDU in class com.ibm.wala.ipa.callgraph.propagation.cfa.ContextInsensitiveSSAInterpreter