Class JSCallGraph.JSFakeRoot
java.lang.Object
com.ibm.wala.classLoader.SyntheticMethod
com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot
com.ibm.wala.cast.ipa.callgraph.AstCallGraph.ScriptFakeRoot
com.ibm.wala.cast.js.ipa.callgraph.JSCallGraph.JSFakeRoot
- All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
- Enclosing class:
JSCallGraph
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T>Nested classes/interfaces inherited from interface IMethod
IMethod.SourcePosition -
Field Summary
Fields inherited from class AbstractRootMethod
cache, cha, insts, nextLocal, statementsFields inherited from class SyntheticMethod
declaringClass, NO_STATEMENTS, resolvedMethod -
Constructor Summary
ConstructorsConstructorDescriptionJSFakeRoot(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) -
Method Summary
Modifier and TypeMethodDescriptionaddDirectCall(int function, int[] params, CallSiteReference site) makeControlFlowGraph(SSAInstruction[] instructions) Create anInducedCFGfrom an instruction array.Methods inherited from class AstCallGraph.ScriptFakeRoot
addAllocationMethods inherited from class AstCallGraph.AstFakeRoot
addGlobalReadMethods inherited from class AbstractRootMethod
add1DArrayAllocation, addAllocationWithoutCtor, addCheckcast, addGetArrayField, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIRMethods inherited from class 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, toStringMethods inherited from interface IMethod
getNumberOfDefaultParameters
-
Constructor Details
-
JSFakeRoot
-
-
Method Details
-
makeControlFlowGraph
Description copied from class:SyntheticMethodCreate anInducedCFGfrom an instruction array.NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!
- Overrides:
makeControlFlowGraphin classAstCallGraph.AstFakeRoot
-
addDirectCall
public SSAAbstractInvokeInstruction addDirectCall(int function, int[] params, CallSiteReference site) - Specified by:
addDirectCallin classAstCallGraph.ScriptFakeRoot
-