public class CrossLanguageCallGraph.CrossLanguageFakeRoot extends AstCallGraph.ScriptFakeRoot
IMethod.SourcePositionContextItem.Value<T>cache, cha, insts, nextLocal, statementsdeclaringClass, 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) |
makeControlFlowGraphadd1DArrayAllocation, addAllocationWithoutCtor, addGetArrayField, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIRequals, 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, toStringpublic 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 AbstractRootMethodpublic int addGetStatic(FieldReference ref)
addGetStatic in class AbstractRootMethodpublic int addCheckcast(TypeReference[] type, int rv, boolean isPEI)
addCheckcast in class AbstractRootMethodpublic SSANewInstruction addAllocation(TypeReference type)
AbstractRootMethodaddAllocation in class AbstractRootMethodpublic SSAInvokeInstruction addInvocation(int[] params, CallSiteReference site)
addInvocation in class AbstractRootMethodpublic SSAInvokeInstruction addInvocationInternal(int[] params, CallSiteReference site)
public AstLexicalRead addGlobalRead(TypeReference type, String name)
addGlobalRead in class AstCallGraph.AstFakeRootpublic SSAAbstractInvokeInstruction addDirectCall(int functionVn, int[] argVns, CallSiteReference callSite)
addDirectCall in class AstCallGraph.ScriptFakeRoot