Class CrossLanguageCallGraph.CrossLanguageFakeRoot
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.ipa.callgraph.CrossLanguageCallGraph.CrossLanguageFakeRoot
- All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
- Enclosing class:
CrossLanguageCallGraph
- Author:
- Julian Dolby (dolby@us.ibm.com)
-
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
ConstructorsConstructorDescriptionCrossLanguageFakeRoot(IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) CrossLanguageFakeRoot(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) -
Method Summary
Modifier and TypeMethodDescriptionaddAllocation(TypeReference type) Add a New statement of the given typeintaddCheckcast(TypeReference[] type, int rv, boolean isPEI) addDirectCall(int functionVn, int[] argVns, CallSiteReference callSite) intaddGetInstance(FieldReference ref, int object) intaddGlobalRead(TypeReference type, String name) addInvocation(int[] params, CallSiteReference site) addInvocationInternal(int[] params, CallSiteReference site) intaddPhi(TypeReference type, int[] values) Methods inherited from class AstCallGraph.AstFakeRoot
makeControlFlowGraphMethods inherited from class AbstractRootMethod
add1DArrayAllocation, addAllocationWithoutCtor, addGetArrayField, 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
-
CrossLanguageFakeRoot
public CrossLanguageFakeRoot(IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) -
CrossLanguageFakeRoot
public CrossLanguageFakeRoot(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache)
-
-
Method Details
-
addPhi
-
addGetInstance
- Overrides:
addGetInstancein classAbstractRootMethod
-
addGetStatic
- Overrides:
addGetStaticin classAbstractRootMethod
-
addCheckcast
- Overrides:
addCheckcastin classAbstractRootMethod
-
addAllocation
Description copied from class:AbstractRootMethodAdd a New statement of the given typeSide effect: adds call to default constructor of given type if one exists.
- Overrides:
addAllocationin classAstCallGraph.ScriptFakeRoot- Returns:
- instruction added, or null
-
addInvocation
- Overrides:
addInvocationin classAbstractRootMethod- Returns:
- the invoke instructions added by this operation
-
addInvocationInternal
-
addGlobalRead
- Overrides:
addGlobalReadin classAstCallGraph.AstFakeRoot
-
addDirectCall
public SSAAbstractInvokeInstruction addDirectCall(int functionVn, int[] argVns, CallSiteReference callSite) - Specified by:
addDirectCallin classAstCallGraph.ScriptFakeRoot
-