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 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
ConstructorDescriptionCrossLanguageFakeRoot
(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 typeint
addCheckcast
(TypeReference[] type, int rv, boolean isPEI) addDirectCall
(int functionVn, int[] argVns, CallSiteReference callSite) int
addGetInstance
(FieldReference ref, int object) int
addGlobalRead
(TypeReference type, String name) addInvocation
(int[] params, CallSiteReference site) addInvocationInternal
(int[] params, CallSiteReference site) int
addPhi
(TypeReference type, int[] values) Methods inherited from class com.ibm.wala.cast.ipa.callgraph.AstCallGraph.AstFakeRoot
makeControlFlowGraph
Methods inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
add1DArrayAllocation, addAllocationWithoutCtor, addGetArrayField, 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
-
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:
addGetInstance
in classAbstractRootMethod
-
addGetStatic
- Overrides:
addGetStatic
in classAbstractRootMethod
-
addCheckcast
- Overrides:
addCheckcast
in classAbstractRootMethod
-
addAllocation
Description copied from class:AbstractRootMethod
Add a New statement of the given typeSide effect: adds call to default constructor of given type if one exists.
- Overrides:
addAllocation
in classAstCallGraph.ScriptFakeRoot
- Returns:
- instruction added, or null
-
addInvocation
- Overrides:
addInvocation
in classAbstractRootMethod
- Returns:
- the invoke instructions added by this operation
-
addInvocationInternal
-
addGlobalRead
- Overrides:
addGlobalRead
in classAstCallGraph.AstFakeRoot
-
addDirectCall
public SSAAbstractInvokeInstruction addDirectCall(int functionVn, int[] argVns, CallSiteReference callSite) - Specified by:
addDirectCall
in classAstCallGraph.ScriptFakeRoot
-