public class CrossLanguageCallGraph.CrossLanguageFakeRoot extends AstCallGraph.ScriptFakeRoot
IMethod.SourcePosition
ContextItem.Value<T>
cache, cha, insts, nextLocal, statements
declaringClass, NO_STATEMENTS, resolvedMethod
Constructor and Description |
---|
CrossLanguageFakeRoot(IClassHierarchy cha,
AnalysisOptions options,
AnalysisCache cache) |
CrossLanguageFakeRoot(IClass declaringClass,
IClassHierarchy cha,
AnalysisOptions options,
AnalysisCache cache) |
Modifier and Type | Method and Description |
---|---|
SSANewInstruction |
addAllocation(TypeReference type)
Add a New statement of the given type
Side effect: adds call to default constructor of given type if one exists.
|
int |
addCheckcast(TypeReference[] type,
int rv,
boolean isPEI) |
SSAAbstractInvokeInstruction |
addDirectCall(int functionVn,
int[] argVns,
CallSiteReference callSite) |
int |
addGetInstance(FieldReference ref,
int object) |
int |
addGetStatic(FieldReference ref) |
AstLexicalRead |
addGlobalRead(TypeReference type,
String name) |
SSAInvokeInstruction |
addInvocation(int[] params,
CallSiteReference site) |
SSAInvokeInstruction |
addInvocationInternal(int[] params,
CallSiteReference site) |
int |
addPhi(TypeReference type,
int[] values) |
makeControlFlowGraph
add1DArrayAllocation, addAllocationWithoutCtor, addGetArrayField, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIR
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, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, toString
public CrossLanguageFakeRoot(IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
public CrossLanguageFakeRoot(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
public int addPhi(TypeReference type, int[] values)
public int addGetInstance(FieldReference ref, int object)
addGetInstance
in class AbstractRootMethod
public int addGetStatic(FieldReference ref)
addGetStatic
in class AbstractRootMethod
public int addCheckcast(TypeReference[] type, int rv, boolean isPEI)
addCheckcast
in class AbstractRootMethod
public SSANewInstruction addAllocation(TypeReference type)
AbstractRootMethod
addAllocation
in class AbstractRootMethod
public SSAInvokeInstruction addInvocation(int[] params, CallSiteReference site)
addInvocation
in class AbstractRootMethod
public SSAInvokeInstruction addInvocationInternal(int[] params, CallSiteReference site)
public AstLexicalRead addGlobalRead(TypeReference type, String name)
addGlobalRead
in class AstCallGraph.AstFakeRoot
public SSAAbstractInvokeInstruction addDirectCall(int functionVn, int[] argVns, CallSiteReference callSite)
addDirectCall
in class AstCallGraph.ScriptFakeRoot