Class JSCallGraph.JSFakeRoot

  • All Implemented Interfaces:
    com.ibm.wala.classLoader.IMember, com.ibm.wala.classLoader.IMethod, com.ibm.wala.ipa.callgraph.ContextItem, com.ibm.wala.ipa.cha.IClassHierarchyDweller
    Enclosing class:
    JSCallGraph

    public static class JSCallGraph.JSFakeRoot
    extends com.ibm.wala.cast.ipa.callgraph.AstCallGraph.ScriptFakeRoot
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem

        com.ibm.wala.ipa.callgraph.ContextItem.Value<T extends java.lang.Object>
      • Nested classes/interfaces inherited from interface com.ibm.wala.classLoader.IMethod

        com.ibm.wala.classLoader.IMethod.SourcePosition
    • Field Summary

      • Fields inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod

        cache, cha, insts, nextLocal, statements
      • Fields inherited from class com.ibm.wala.classLoader.SyntheticMethod

        declaringClass, NO_STATEMENTS, resolvedMethod
    • Constructor Summary

      Constructors 
      Constructor Description
      JSFakeRoot​(com.ibm.wala.ipa.cha.IClassHierarchy cha, 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.SSAAbstractInvokeInstruction addDirectCall​(int function, int[] params, com.ibm.wala.classLoader.CallSiteReference site)  
      com.ibm.wala.cfg.InducedCFG makeControlFlowGraph​(com.ibm.wala.ssa.SSAInstruction[] instructions)  
      • Methods inherited from class com.ibm.wala.cast.ipa.callgraph.AstCallGraph.ScriptFakeRoot

        addAllocation
      • Methods inherited from class com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot

        addGlobalRead
      • Methods inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod

        add1DArrayAllocation, addAllocationWithoutCtor, addCheckcast, addGetArrayField, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIR
      • Methods inherited from class com.ibm.wala.classLoader.SyntheticMethod

        equals, getAnnotations, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getNumberOfParameters, getParameterSourcePosition, getParameterType, getPoison, getPoisonLevel, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, hasPoison, isAbstract, isAnnotation, isBridge, isClinit, isEnum, isFactoryMethod, isFinal, isInit, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, isWalaSynthetic, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.ibm.wala.classLoader.IMethod

        getNumberOfDefaultParameters
    • Constructor Detail

      • JSFakeRoot

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

      • makeControlFlowGraph

        public com.ibm.wala.cfg.InducedCFG makeControlFlowGraph​(com.ibm.wala.ssa.SSAInstruction[] instructions)
        Overrides:
        makeControlFlowGraph in class com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot
      • addDirectCall

        public com.ibm.wala.ssa.SSAAbstractInvokeInstruction addDirectCall​(int function,
                                                                           int[] params,
                                                                           com.ibm.wala.classLoader.CallSiteReference site)
        Specified by:
        addDirectCall in class com.ibm.wala.cast.ipa.callgraph.AstCallGraph.ScriptFakeRoot