public class OnFlyCallGraphBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
OnFlyCallGraphBuilder.DefaultReflectionModel |
class |
OnFlyCallGraphBuilder.TraceBasedReflectionModel |
class |
OnFlyCallGraphBuilder.TypeBasedReflectionModel |
| Constructor and Description |
|---|
OnFlyCallGraphBuilder(ContextManager cm,
ReachableMethods rm) |
OnFlyCallGraphBuilder(ContextManager cm,
ReachableMethods rm,
boolean appOnly) |
protected final NumberedString sigFinalize
protected final NumberedString sigInit
protected final NumberedString sigForName
protected final RefType clRunnable
protected final RefType clAsyncTask
protected final RefType clHandler
protected final LargeNumberedMap<Local,List<VirtualCallSite>> receiverToSites
protected final LargeNumberedMap<SootMethod,List<Local>> methodToReceivers
protected final LargeNumberedMap<SootMethod,List<Local>> methodToInvokeBases
protected final LargeNumberedMap<SootMethod,List<Local>> methodToInvokeArgs
protected final LargeNumberedMap<SootMethod,List<Local>> methodToStringConstants
protected final SmallNumberedMap<Local,List<VirtualCallSite>> stringConstToSites
protected final HashSet<SootMethod> analyzedMethods
protected final MultiMap<Local,InvokeCallSite> baseToInvokeSite
protected final MultiMap<Local,InvokeCallSite> invokeArgsToInvokeSite
protected final MultiMap<AllocDotField,Local> allocDotFieldToLocal
protected final ChunkedQueue<SootMethod> targetsQueue
protected final QueueReader<SootMethod> targets
protected final ReflectionModel reflectionModel
protected final CGOptions options
protected boolean appOnly
protected final ReachableMethods rm
protected final QueueReader<MethodOrMethodContext> worklist
protected final ContextManager cm
protected final VirtualEdgesSummaries virtualEdgeSummaries
protected NullnessAnalysis nullnessCache
protected ConstantArrayAnalysis arrayCache
protected SootMethod analysisKey
public OnFlyCallGraphBuilder(ContextManager cm, ReachableMethods rm, boolean appOnly)
public OnFlyCallGraphBuilder(ContextManager cm, ReachableMethods rm)
protected VirtualEdgesSummaries initializeEdgeSummaries()
public ContextManager getContextManager()
public LargeNumberedMap<SootMethod,List<Local>> methodToReceivers()
public LargeNumberedMap<SootMethod,List<Local>> methodToInvokeArgs()
public LargeNumberedMap<SootMethod,List<Local>> methodToInvokeBases()
public LargeNumberedMap<SootMethod,List<Local>> methodToStringConstants()
public void processReachables()
public boolean wantTypes(Local receiver)
public void addPossibleArgArraySize(Local argArray, int value, Context context)
protected boolean skipSite(VirtualCallSite site, FastHierarchy fh, Type type)
public boolean wantStringConstants(Local stringConst)
public boolean wantArrayField(AllocDotField df)
public void addInvokeArgType(AllocDotField df, Context context, Type type)
public boolean wantInvokeArg(Local receiver)
public void addInvokeArgDotField(Local receiver, AllocDotField dot)
protected void processVirtualEdgeSummary(SootMethod m, Stmt s, Local receiver, VirtualEdgesSummaries.VirtualEdgeTarget target, Kind edgeType)
protected void processVirtualEdgeSummary(SootMethod callSiteMethod, Stmt callSite, Stmt curStmt, Local receiver, VirtualEdgesSummaries.VirtualEdgeTarget target, Kind edgeType)
protected void processNewMethodContext(MethodOrMethodContext momc)
Copyright © 2021 Soot OSS. All rights reserved.