Class AstCallGraph.AstFakeRoot
java.lang.Object
com.ibm.wala.classLoader.SyntheticMethod
com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot
- All Implemented Interfaces:
IMember
,IMethod
,ContextItem
,IClassHierarchyDweller
- Direct Known Subclasses:
AstCallGraph.ScriptFakeRoot
- Enclosing class:
AstCallGraph
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
Nested classes/interfaces inherited from interface com.ibm.wala.classLoader.IMethod
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
ConstructorDescriptionAstFakeRoot
(MethodReference rootMethod, IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) AstFakeRoot
(MethodReference rootMethod, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) -
Method Summary
Modifier and TypeMethodDescriptionaddGlobalRead
(TypeReference type, String name) makeControlFlowGraph
(SSAInstruction[] statements) Create anInducedCFG
from an instruction array.Methods inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
add1DArrayAllocation, addAllocation, 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 Details
-
AstFakeRoot
public AstFakeRoot(MethodReference rootMethod, IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) -
AstFakeRoot
public AstFakeRoot(MethodReference rootMethod, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache)
-
-
Method Details
-
makeControlFlowGraph
Description copied from class:SyntheticMethod
Create anInducedCFG
from an instruction array.NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!
- Overrides:
makeControlFlowGraph
in classSyntheticMethod
-
addGlobalRead
-