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 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
ConstructorsConstructorDescriptionAstFakeRoot(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 anInducedCFGfrom an instruction array.Methods inherited from class AbstractRootMethod
add1DArrayAllocation, addAllocation, 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
-
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:SyntheticMethodCreate anInducedCFGfrom an instruction array.NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!
- Overrides:
makeControlFlowGraphin classSyntheticMethod
-
addGlobalRead
-