Uses of Class
sootup.core.model.SootMethod
Package
Description
Generally useful utility classes for Soot.
-
Uses of SootMethod in qilin.core
Modifier and TypeFieldDescriptionfinal Set<SootMethod>
PTAScene.arraycopyBuilt
final Set<SootMethod>
PTAScene.nativeBuilt
final Set<SootMethod>
PTAScene.reflectionBuilt
Modifier and TypeMethodDescriptionPTAScene.getFakeMainMethod()
VirtualCalls.resolveNonSpecial
(ClassType t, MethodSubSignature subSig) VirtualCalls.resolveNonSpecial
(ClassType t, MethodSubSignature subSig, boolean appOnly) VirtualCalls.resolveSpecial
(JSpecialInvokeExpr iie, MethodSubSignature subSig, SootMethod container) VirtualCalls.resolveSpecial
(JSpecialInvokeExpr iie, MethodSubSignature subSig, SootMethod container, boolean appOnly) Modifier and TypeMethodDescriptionCorePTA.createCalleeCtx
(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) abstract Context
PTA.createCalleeCtx
(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) boolean
PTAScene.isApplicationMethod
(SootMethod sm) CorePTA.parameterize
(SootMethod method, Context context) Finds or creates the ContextMethod for method and context.abstract ContextMethod
PTA.parameterize
(SootMethod method, Context context) PointsToAnalysis.reachingObjects
(Context c, SootMethod m, Local l) Returns the set of objects pointed to by variable l in context c.PointsToAnalysis.reachingObjects
(Context c, SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l in context c.PointsToAnalysis.reachingObjects
(SootMethod m, Local l) Returns the set of objects pointed to by variable l.PointsToAnalysis.reachingObjects
(SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l.PTA.reachingObjects
(Context c, SootMethod m, Local l) Returns the set of objects pointed to by variable l in context c.PTA.reachingObjects
(Context c, SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l in context c.PTA.reachingObjects
(SootMethod m, Local l) Returns the set of objects pointed to by variable l.PTA.reachingObjects
(SootMethod m, Local l, SootField f) Returns the set of objects pointed to by instance field f of the objects pointed to by l.void
VirtualCalls.resolve
(Type t, Type declaredType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets) void
VirtualCalls.resolve
(Type t, Type declaredType, Type sigType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets) void
VirtualCalls.resolve
(Type t, Type declaredType, Type sigType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets, boolean appOnly) VirtualCalls.resolveSpecial
(JSpecialInvokeExpr iie, MethodSubSignature subSig, SootMethod container) VirtualCalls.resolveSpecial
(JSpecialInvokeExpr iie, MethodSubSignature subSig, SootMethod container, boolean appOnly) Modifier and TypeMethodDescriptionvoid
VirtualCalls.resolve
(Type t, Type declaredType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets) void
VirtualCalls.resolve
(Type t, Type declaredType, Type sigType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets) void
VirtualCalls.resolve
(Type t, Type declaredType, Type sigType, MethodSubSignature subSig, SootMethod container, ChunkedQueue<SootMethod> targets, boolean appOnly) -
Uses of SootMethod in qilin.core.builder
Modifier and TypeFieldDescriptionprotected final Map<SootMethod,
Map<Object, InvokableStmt>> CallGraphBuilder.methodToInvokeStmt
Modifier and TypeMethodDescriptionFakeMainFactory.getFakeMain()
CallGraphBuilder.resolveNonSpecial
(ClassType t, MethodSubSignature subSig) Modifier and TypeMethodDescriptionFakeMainFactory.EntryPoints.all()
Returns all the entry points.FakeMainFactory.EntryPoints.application()
Returns only the application entry points, not including entry points invoked implicitly by the VM.FakeMainFactory.EntryPoints.clinits()
Returns a list of all static initializers.Returns a list of all clinits of class cl and its superclasses.CallGraphBuilder.dispatch
(Type type, VirtualCallSite site) FakeMainFactory.EntryPoints.implicit()
Returns only the entry points invoked implicitly by the VM.Modifier and TypeMethodDescriptionvoid
CallGraphBuilder.addStaticEdge
(ContextMethod caller, InvokableStmt callStmt, SootMethod calleem, Kind kind) MethodNodeFactory.makeInvokeStmtThrowVarNode
(Stmt invoke, SootMethod method) Modifier and TypeMethodDescriptionprotected void
FakeMainFactory.EntryPoints.addMethod
(List<SootMethod> set, String methodSig) protected void
FakeMainFactory.EntryPoints.addMethod
(List<SootMethod> set, SootClass cls, MethodSubSignature methodSubSig) -
Uses of SootMethod in qilin.core.builder.callgraph
Modifier and TypeMethodDescriptionOnFlyCallGraph.findEdge
(Stmt u, SootMethod callee) Find the specific call edge that is going out from the callsite u and the call target is callee.boolean
OnFlyCallGraph.isEntryMethod
(SootMethod method) Does this method have no incoming edge? -
Uses of SootMethod in qilin.core.natives
ModifierConstructorDescriptionJavaIoFileSystemGetFileSystemNative
(View view, SootMethod method) JavaIoFileSystemListNative
(View view, SootMethod method) JavaLangObjectCloneNative
(View view, SootMethod method) JavaLangRefFinalizerInvokeFinalizeMethodNative
(View view, SootMethod method) JavaLangSystemArraycopyNative
(View view, SootMethod method) JavaLangSystemSetErr0Native
(View view, SootMethod method) JavaLangSystemSetIn0Native
(View view, SootMethod method) JavaLangSystemSetOut0Native
(View view, SootMethod method) JavaLangThreadStart0Native
(View view, SootMethod method, LValue currentThread) JavaSecurityAccessControllerDoPrivilegedNative
(View view, SootMethod method) -
Uses of SootMethod in qilin.core.pag
Modifier and TypeFieldDescriptionprotected final Map<SootMethod,
Map<Context, ContextMethod>> PAG.contextMethodMap
protected final Set<Triple<SootMethod,
Local, Type>> PAG.locals
protected final Map<SootMethod,
MethodPAG> PAG.methodToPag
Modifier and TypeMethodDescriptionAllocNode.getMethod()
ContextVarNode.getMethod()
GlobalVarNode.getMethod()
LocalVarNode.getMethod()
MethodPAG.getMethod()
abstract SootMethod
VarNode.getMethod()
ContextMethod.method()
Parm.method()
Modifier and TypeMethodDescriptionPAG.getContextMethodMap()
PAG.getLocalPointers()
MethodPAG.triggeredClinits()
Modifier and TypeMethodDescriptionvoid
MethodPAG.addTriggeredClinit
(SootMethod clinit) PAG.findContextVarNode
(SootMethod m, Local baseValue, Context context) Finds the ContextVarNode for base variable value and context context, or returns null.PAG.findLocalVarNode
(SootMethod m, Object value, Type type) Finds the LocalVarNode for the variable value, or returns null.PAG.findValNode
(Object value, SootMethod containingMethod) Finds the ValNode for the variable value, or returns null.PAG.getMethodPAG
(SootMethod m) PAG.getVarNodes
(SootMethod m, Local local) PAG.makeAllocNode
(Object newExpr, Type type, SootMethod m) PAG.makeContextMethod
(Context context, SootMethod method) Finds or creates the ContextMethod for method and context.PAG.makeLocalVarNode
(Object value, Type type, SootMethod method) Finds or creates the LocalVarNode for the variable value, of type type.ModifierConstructorDescriptionAllocNode
(Object newExpr, Type t, SootMethod m) protected
ConstantNode
(Object newExpr, Type t, SootMethod m) ContextMethod
(SootMethod method, Context context) LocalVarNode
(Object variable, Type t, SootMethod m) MethodPAG
(PAG pag, SootMethod m, Body body) Parm
(SootMethod m, int i) -
Uses of SootMethod in qilin.core.reflection
Modifier and TypeMethodDescriptionvoid
ReflectionModel.buildReflection
(SootMethod m) replace reflection call with appropriate statements -
Uses of SootMethod in qilin.parm.ctxcons
Modifier and TypeMethodDescriptionCallsiteCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) CtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) HybObjCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) HybTypeCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) InsensCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) ObjCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) TypeCtxConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) -
Uses of SootMethod in qilin.parm.select
Modifier and TypeMethodDescriptionBeanSelector.select
(SootMethod m, Context context) abstract Context
CtxSelector.select
(SootMethod m, Context context) DebloatingSelector.select
(SootMethod m, Context context) FullMethodLvSelector.select
(SootMethod m, Context context) HeuristicSelector.select
(SootMethod m, Context context) InsenSelector.select
(SootMethod m, Context context) PartialMethodLvSelector.select
(SootMethod m, Context context) PartialVarSelector.select
(SootMethod m, Context context) PipelineSelector.select
(SootMethod m, Context context) UniformSelector.select
(SootMethod m, Context context) VarLvSelector.select
(SootMethod m, Context context) ModifierConstructorDescriptionFullMethodLvSelector
(Map<SootMethod, Integer> m2len, int k) PartialMethodLvSelector
(int k, int hk, Set<SootMethod> pcm) -
Uses of SootMethod in qilin.pta.toolkits.common
Modifier and TypeMethodDescriptionToolUtil.getParameters
(PAG pag, SootMethod m) ToolUtil.getRetVars
(PAG pag, SootMethod m) static VarNode
ToolUtil.getThis
(PAG pag, SootMethod m) -
Uses of SootMethod in qilin.pta.toolkits.conch
Modifier and TypeFieldDescriptionprotected final Map<AllocNode,
Set<SootMethod>> AbstractConch.invokedMethods
protected final Map<SootMethod,
Map<SparkField, Set<VarNode>>> AbstractConch.m2thisFLoads
protected final Map<SootMethod,
Map<SparkField, Set<Pair<VarNode, VarNode>>>> AbstractConch.m2thisFStores
protected final Map<SootMethod,
Map<Stmt, AllocNode>> AbstractPAG.symbolicHeaps
Modifier and TypeMethodDescriptionprotected AllocNode
AbstractPAG.getSymbolicHeapOf
(SootMethod method, Stmt invokeStmt) -
Uses of SootMethod in qilin.pta.toolkits.dd
Modifier and TypeMethodDescriptionTunnelingConstructor.constructCtx
(ContextMethod caller, ContextAllocNode receiverNode, CallSite callSite, SootMethod target) boolean
CtxTunnelingFeaturesTrueTable.containedInNestedClass
(SootMethod sm) DataDrivenSelector.select
(SootMethod m, Context context) -
Uses of SootMethod in qilin.pta.toolkits.debloaterx
Modifier and TypeFieldDescriptionprotected final Map<SootMethod,
Set<AllocNode>> XUtility.m2receiverObjects
protected final Map<AllocNode,
Set<SootMethod>> XUtility.o2InvokedMethods
protected final Map<Type,
Set<SootMethod>> XUtility.t2InvokedMethods
Modifier and TypeMethodDescriptionXUtility.getInvokedMethods
(AllocNode heap) InterFlowAnalysis.getOutMethodsWithRetOrParamValueFrom
(SparkField field) Modifier and TypeMethodDescriptionprotected void
XPAG.buildInternal
(SootMethod method) protected void
XPAG.buildInternalWithInline
(SootMethod method) XUtility.getReceiverObjects
(SootMethod method) Modifier and TypeMethodDescriptionprotected void
XPAG.buildGraph
(Collection<SootMethod> reachables) -
Uses of SootMethod in qilin.pta.toolkits.turner
Modifier and TypeMethodDescriptionMethodLevelCallGraph.allNodes()
MethodLevelCallGraph.predsOf
(SootMethod n) MethodLevelCallGraph.succsOf
(SootMethod n) Modifier and TypeMethodDescriptionstatic AbstractMVFG
AbstractMVFG.findMethodVFG
(SootMethod method) static AbstractMVFG
MethodVFG.findOrCreateMethodVFG
(PTA prePTA, SootMethod method, OCG hg) static AbstractMVFG
ModularMVFG.findOrCreateMethodVFG
(PTA prePTA, SootMethod method, OCG hg, MergedNode<SootMethod> sccNode) MethodLevelCallGraph.predsOf
(SootMethod n) MethodLevelCallGraph.succsOf
(SootMethod n) Modifier and TypeMethodDescriptionstatic AbstractMVFG
ModularMVFG.findOrCreateMethodVFG
(PTA prePTA, SootMethod method, OCG hg, MergedNode<SootMethod> sccNode) protected abstract boolean
AbstractMVFG.satisfyAddingStoreCondition
(int paramIndex, Set<SootMethod> targets) protected boolean
MethodVFG.satisfyAddingStoreCondition
(int paramIndex, Set<SootMethod> targets) protected boolean
ModularMVFG.satisfyAddingStoreCondition
(int paramIndex, Set<SootMethod> targets) protected abstract boolean
AbstractMVFG.statisfyAddingLoadCondition
(Set<SootMethod> targets) protected boolean
MethodVFG.statisfyAddingLoadCondition
(Set<SootMethod> targets) protected boolean
ModularMVFG.statisfyAddingLoadCondition
(Set<SootMethod> targets) ModifierConstructorDescriptionAbstractMVFG
(PTA prePTA, OCG hg, SootMethod method) MethodVFG
(PTA prePTA, SootMethod method, OCG hg) ModularMVFG
(PTA prePTA, SootMethod method, OCG hg, MergedNode<SootMethod> sccNode) ModifierConstructorDescriptionModularMVFG
(PTA prePTA, SootMethod method, OCG hg, MergedNode<SootMethod> sccNode) -
Uses of SootMethod in qilin.pta.toolkits.zipper
-
Uses of SootMethod in qilin.pta.toolkits.zipper.analysis
Modifier and TypeMethodDescriptionZipper.analyze()
PotentialContextElement.methodsInvokedOn
(AllocNode obj) PotentialContextElement.PCEMethodsOf
(AllocNode obj) PotentialContextElement.PCEMethodsOf
(Type type) -
Uses of SootMethod in qilin.pta.toolkits.zipper.flowgraph
Modifier and TypeMethodDescriptionvoid
FlowAnalysis.initialize
(Type type, Set<SootMethod> inms, Set<SootMethod> outms) -
Uses of SootMethod in qilin.pta.tools
Modifier and TypeFieldDescriptionprotected Set<SootMethod>
PartialCallSiteSensPTA.csmethods
protected Set<SootMethod>
PartialObjSensPTA.csmethods
Modifier and TypeMethodDescriptionDebloatedPTA.createCalleeCtx
(ContextMethod caller, AllocNode receiverNode, CallSite callSite, SootMethod target) DebloatedPTA.parameterize
(SootMethod method, Context context) DebloatedPTA.reachingObjects
(Context c, SootMethod m, Local l) DebloatedPTA.reachingObjects
(Context c, SootMethod m, Local l, SootField f) DebloatedPTA.reachingObjects
(SootMethod m, Local l) DebloatedPTA.reachingObjects
(SootMethod m, Local l, SootField f) -
Uses of SootMethod in qilin.stat
Modifier and TypeMethodDescriptionvoid
Exporter.dumpAppReachableMethods
(Collection<SootMethod> appReachables) void
Exporter.dumpMayFailCasts
(Map<SootMethod, Set<Stmt>> casts) void
Exporter.dumpMethodThrowPointsto
(Map<SootMethod, PointsToSet> m2pts) void
Exporter.dumpPolyCalls
(Map<AbstractInvokeExpr, SootMethod> polys) void
Exporter.dumpReachableMethods
(Collection<SootMethod> reachables) void
Exporter.dumpSingleCallMethods
(Collection<SootMethod> singleCallMs) void
Exporter.dumpSingleCallSingleReceiverMethods
(Collection<SootMethod> singleCallSingleReceiverMs) void
Exporter.dumpSingleReceiverMethods
(Collection<SootMethod> singleReceiverMs) -
Uses of SootMethod in qilin.util
Modifier and TypeMethodDescriptionstatic Body
PTAUtils.getMethodBody
(SootMethod m) static boolean
PTAUtils.hasBody
(SootMethod m) static boolean
PTAUtils.isConstructor
(SootMethod method) static boolean
PTAUtils.isFakeMainMethod
(SootMethod method) static boolean
PTAUtils.isStaticInitializer
(SootMethod method) static void
PTAUtils.updateMethodBody
(SootMethod m, Body body) -
Uses of SootMethod in sootup.analysis.interprocedural.icfg
Modifier and TypeFieldDescriptionprotected final BiDiInterproceduralCFG<Stmt,
SootMethod> BackwardsInterproceduralCFG.delegate
protected com.google.common.cache.CacheLoader<SootMethod,
Collection<Stmt>> JimpleBasedInterproceduralCFG.loaderMethodToCallers
protected com.google.common.cache.CacheLoader<Stmt,
Collection<SootMethod>> JimpleBasedInterproceduralCFG.loaderUnitToCallees
protected final com.google.common.cache.LoadingCache<SootMethod,
Collection<Stmt>> JimpleBasedInterproceduralCFG.methodToCallers
protected com.google.common.cache.LoadingCache<SootMethod,
Set<Stmt>> AbstractJimpleBasedICFG.methodToCallsFromWithin
protected com.google.common.cache.LoadingCache<SootMethod,
List<Value>> AbstractJimpleBasedICFG.methodToParameterRefs
protected final com.google.common.cache.LoadingCache<Stmt,
Collection<SootMethod>> JimpleBasedInterproceduralCFG.stmtToCallees
Modifier and TypeMethodDescriptionAbstractJimpleBasedICFG.getMethodOf
(Stmt stmt) BackwardsInterproceduralCFG.getMethodOf
(Stmt n) Modifier and TypeMethodDescriptionBackwardsInterproceduralCFG.getCalleesOfCallAt
(Stmt n) JimpleBasedInterproceduralCFG.getCalleesOfCallAt
(Stmt u) Modifier and TypeMethodDescriptionBackwardsInterproceduralCFG.getCallersOf
(SootMethod m) JimpleBasedInterproceduralCFG.getCallersOf
(SootMethod m) AbstractJimpleBasedICFG.getCallsFromWithin
(SootMethod m) BackwardsInterproceduralCFG.getCallsFromWithin
(SootMethod m) AbstractJimpleBasedICFG.getCallsFromWithinMethod
(SootMethod method) AbstractJimpleBasedICFG.getEndPointsOf
(SootMethod m) BackwardsInterproceduralCFG.getEndPointsOf
(SootMethod m) StmtGraph<?>
AbstractJimpleBasedICFG.getOrCreateStmtGraph
(SootMethod method) StmtGraph<?>
BackwardsInterproceduralCFG.getOrCreateStmtGraph
(SootMethod m) AbstractJimpleBasedICFG.getParameterRefs
(SootMethod m) BackwardsInterproceduralCFG.getParameterRefs
(SootMethod m) AbstractJimpleBasedICFG.getStartPointsOf
(SootMethod m) BackwardsInterproceduralCFG.getStartPointsOf
(SootMethod m) void
AbstractJimpleBasedICFG.initializeStmtToOwner
(SootMethod m) ModifierConstructorDescription -
Uses of SootMethod in sootup.analysis.interprocedural.ide
Modifier and TypeClassDescriptionclass
DefaultJimpleIDETabulationProblem<D,
V, I extends heros.InterproceduralCFG<Stmt, SootMethod>> class
JimpleIDESolver<D,
V, I extends heros.InterproceduralCFG<Stmt, SootMethod>> ModifierConstructorDescriptionJimpleIDESolver
(heros.IDETabulationProblem<Stmt, D, SootMethod, V, I> problem) -
Uses of SootMethod in sootup.analysis.interprocedural.ifds
Modifier and TypeClassDescriptionclass
DefaultJimpleIFDSTabulationProblem<D,
I extends heros.InterproceduralCFG<Stmt, SootMethod>> class
JimpleIFDSSolver<D,
I extends heros.InterproceduralCFG<Stmt, SootMethod>> ModifierConstructorDescriptionJimpleIFDSSolver
(heros.IFDSTabulationProblem<Stmt, D, SootMethod, I> problem) -
Uses of SootMethod in sootup.callgraph
Modifier and TypeMethodDescriptionstatic Optional<SootMethod>
AbstractCallGraphAlgorithm.findConcreteMethod
(View view, MethodSignature sig) searches the method object in the given hierarchyModifier and TypeMethodDescriptionRapidTypeAnalysisAlgorithm.collectInstantiatedClassesInMethod
(SootMethod method) This method is called to collect all instantiation of classes in a given method body.protected void
AbstractCallGraphAlgorithm.resolveAllCallsFromSourceMethod
(SootMethod sourceMethod, MutableCallGraph cg, Deque<MethodSignature> workList) This method resolves all calls from a given source method.protected void
AbstractCallGraphAlgorithm.resolveAllImplicitCallsFromSourceMethod
(SootMethod sourceMethod, MutableCallGraph cg, Deque<MethodSignature> workList) It resolves all implicit calls caused by the given source methodprotected void
AbstractCallGraphAlgorithm.resolveAllStaticInitializerCalls
(SootMethod sourceMethod, MutableCallGraph cg, Deque<MethodSignature> workList) It resolves all static initializer calls caused by the given source methodprotected abstract Stream<MethodSignature>
AbstractCallGraphAlgorithm.resolveCall
(SootMethod method, InvokableStmt invokableStmt) This method resolves the possible targets of a given invoke expression.protected Stream<MethodSignature>
ClassHierarchyAnalysisAlgorithm.resolveCall
(SootMethod method, InvokableStmt invokableStmt) In the CHA algorithm, every virtual call is resolved by only using the hierarchy.protected Stream<MethodSignature>
RapidTypeAnalysisAlgorithm.resolveCall
(SootMethod sourceMethod, InvokableStmt invokableStmt) In the RTA algorithm, every virtual call is resolved by using the hierarchy and a hashset containing every instantiated class. -
Uses of SootMethod in sootup.codepropertygraph.ast
Modifier and TypeMethodDescriptionAstCreator.createGraph
(SootMethod method) Creates the AST property graph for the given Soot method. -
Uses of SootMethod in sootup.codepropertygraph.cdg
Modifier and TypeMethodDescriptionCdgCreator.createGraph
(SootMethod method) Creates the CDG property graph for the given Soot method. -
Uses of SootMethod in sootup.codepropertygraph.cfg
Modifier and TypeMethodDescriptionCfgCreator.createGraph
(SootMethod method) Creates the CFG property graph for the given Soot method. -
Uses of SootMethod in sootup.codepropertygraph.cpg
Modifier and TypeMethodDescriptionCpgCreator.createCpg
(SootMethod method) Creates the CPG for the given Soot method. -
Uses of SootMethod in sootup.codepropertygraph.ddg
Modifier and TypeMethodDescriptionDdgCreator.createGraph
(SootMethod method) Creates the DDG property graph for the given Soot method. -
Uses of SootMethod in sootup.codepropertygraph.propertygraph.nodes
-
Uses of SootMethod in sootup.core
Modifier and TypeMethodDescriptionvoid
BaseViewChangeListener.methodAdded
(SootMethod m) void
ViewChangeListener.methodAdded
(SootMethod m) void
BaseViewChangeListener.methodRemoved
(SootMethod m) void
ViewChangeListener.methodRemoved
(SootMethod m) -
Uses of SootMethod in sootup.core.frontend
Modifier and TypeMethodDescriptionOverridingClassSource.resolveMethods()
abstract Collection<? extends SootMethod>
SootClassSource.resolveMethods()
Reads from the source to retrieve its methods.Modifier and TypeMethodDescriptionOverridingClassSource.withReplacedMethod
(SootMethod toReplace, SootMethod replacement) Modifier and TypeMethodDescriptionOverridingClassSource.withMethods
(Collection<SootMethod> overriddenSootMethods) ModifierConstructorDescriptionOverridingClassSource
(Set<SootMethod> sootMethods, Set<SootField> sootFields, EnumSet<ClassModifier> modifiers, Set<ClassType> interfaces, ClassType superClass, ClassType outerClass, Position position, Path sourcePath, ClassType classType, AnalysisInputLocation srcNamespace) Class source where all information already available -
Uses of SootMethod in sootup.core.model
Modifier and TypeMethodDescriptionSootMethod.BuildStep.build()
SootMethod.SootMethodBuilder.build()
SootMethod.ThrownExceptionsStep.build()
SootMethod.withModifiers
(Iterable<MethodModifier> modifiers) SootMethod.withOverridingMethodSource
(Function<OverridingBodySource, OverridingBodySource> overrider) Creates a new SootMethod based on a newOverridingBodySource
.SootMethod.withSource
(BodySource source) SootMethod.withThrownExceptions
(Iterable<ClassType> thrownExceptions) Modifier and TypeMethodDescriptionOptional<? extends SootMethod>
Attempts to retrieve the method with the given name and parameters.Optional<? extends SootMethod>
AbstractClass.getMethod
(MethodSubSignature subSignature) Attempts to retrieve the method with the given subSignature.abstract Set<? extends SootMethod>
AbstractClass.getMethods()
Set<? extends SootMethod>
SootClass.getMethods()
Set<? extends SootMethod>
AbstractClass.getMethodsByName
(String name) Attempts to retrieve the method with the given name. -
Uses of SootMethod in sootup.core.util
-
Uses of SootMethod in sootup.core.util.printer
Modifier and TypeMethodDescriptionvoid
BriefStmtPrinter.method
(SootMethod m) abstract void
LabeledStmtPrinter.method
(SootMethod m) void
NormalStmtPrinter.method
(SootMethod m) abstract void
StmtPrinter.method
(SootMethod m) -
Uses of SootMethod in sootup.core.validation
ModifierConstructorDescriptionValidationException
(SootMethod sm, String void_parameter_types_are_invalid) ValidationException
(SootMethod method, String s, String s1) -
Uses of SootMethod in sootup.core.views
Modifier and TypeMethodDescriptionOptional<? extends SootMethod>
AbstractView.getMethod
(MethodSignature signature) resolve and check for accessibility of the class from a given package * TODO: incorporate AccessUtil @Nonnull public synchronized Optional<T> getClass( @Nonnull PackageName entryPackage, @Nonnull ClassType type) { Optional<T> aClass = getClass(type); if (aClass.isPresent() && AccessUtil.isAccessible(entryPackage, aClass.get()) ) { return Optional.empty(); } return aClass; }Optional<? extends SootMethod>
View.getMethod
(MethodSignature signature) -
Uses of SootMethod in sootup.java.bytecode.frontend.conversion
Modifier and TypeMethodDescriptionCollection<? extends SootMethod>
AsmAnnotationClassSource.resolveMethods()
-
Uses of SootMethod in sootup.java.core
-
Uses of SootMethod in sootup.java.frontend
Modifier and TypeMethodDescriptionstatic Optional<SootMethod>
WalaClassLoaderTestUtils.getSootMethod
(WalaJavaClassProvider WalaJavaClassProvider, MethodSignature signature) -
Uses of SootMethod in sootup.java.frontend.conversion
Modifier and TypeMethodDescriptionWalaSootMethod.withDebugInfo
(com.ibm.wala.cast.loader.AstMethod.DebuggingInformation debugInfo)