Uses of Class
pascal.taie.language.classes.JMethod
Package
Description
Provides the classes necessary to build and represent a call graph.
Provides the classes necessary to represent an inter-procedural
control-flow graph (ICFG).
Provides the classes to represent and manage context-sensitive elements
used in pointer analysis, including context-sensitive pointers, objects,
call sites, and methods.
Provide various context selectors, which correspond to various
context sensitivity variants.
Provide model for heap objects.
Provide data structures and algorithms of context-sensitive
pointer analysis solver.
Provide plugin interface of pointer analysis and
some instances (implementations).
This package contains implementation of Scaler, which selects
suitable context variants for the methods in the program.
This package contains implementation of Zipper and Zipper-e, which selects
precision-critical methods in the program.
This package implements modification side-effect analysis (MOD) which
computes the objects that may be modified by each method and statement.
Provide classes related to intermediate representation of method bodies.
Provides functionality related to management of classes (class loading,
class members, class hierarchy, etc.) in the program being analyzed.
Provide model for native methods.
-
Uses of JMethod in pascal.taie
Modifier and TypeMethodDescriptionvoid
World.setImplicitEntries
(Collection<JMethod> implicitEntries) -
Uses of JMethod in pascal.taie.analysis.bugfinder
-
Uses of JMethod in pascal.taie.analysis.graph.callgraph
Modifier and TypeMethodDescriptionDefaultCallGraph.getContainerOf
(Invoke invoke) static JMethod
CallGraphs.resolveCallee
(Type type, Invoke callSite) Modifier and TypeMethodDescriptionvoid
DefaultCallGraph.addEntryMethod
(JMethod entryMethod) Adds an entry method to this call graph.boolean
DefaultCallGraph.addReachableMethod
(JMethod method) Adds a reachable method to this call graph. -
Uses of JMethod in pascal.taie.analysis.graph.cfg
-
Uses of JMethod in pascal.taie.analysis.graph.flowgraph
ModifierConstructorDescriptionObjectFlowGraph
(PointerFlowGraph pfg, CallGraph<Invoke, JMethod> callGraph) -
Uses of JMethod in pascal.taie.analysis.graph.icfg
-
Uses of JMethod in pascal.taie.analysis.pta
Modifier and TypeMethodDescriptionPointerAnalysisResult.getCallGraph()
PointerAnalysisResultImpl.getCallGraph()
-
Uses of JMethod in pascal.taie.analysis.pta.core.cs.element
Modifier and TypeMethodDescriptionCSManager.getCSMethod
(Context context, JMethod method) MapBasedCSManager.getCSMethod
(Context context, JMethod method) -
Uses of JMethod in pascal.taie.analysis.pta.core.cs.selector
Modifier and TypeMethodDescriptionContextSelector.selectContext
(CSCallSite callSite, CSObj recv, JMethod callee) Selects contexts for instance methods.ContextSelector.selectContext
(CSCallSite callSite, JMethod callee) Selects contexts for static methods.Modifier and TypeMethodDescriptionstatic ContextSelector
ContextSelectorFactory.makeGuidedSelector
(Map<JMethod, String> csMap) static ContextSelector
ContextSelectorFactory.makeSelectiveSelector
(String cs, Predicate<JMethod> isCSMethod, Predicate<Obj> isCSObj) static ContextSelector
ContextSelectorFactory.makeSelectiveSelector
(String cs, Set<JMethod> csMethods) -
Uses of JMethod in pascal.taie.analysis.pta.core.heap
Modifier and TypeMethodDescriptionConstantObj.getContainerMethod()
MergedObj.getContainerMethod()
MockObj.getContainerMethod()
NewObj.getContainerMethod()
Obj.getContainerMethod()
Modifier and TypeMethodDescriptionAbstractHeapModel.getMockObj
(Descriptor desc, Object alloc, Type type, JMethod container, boolean isFunctional) default Obj
HeapModel.getMockObj
(Descriptor desc, Object alloc, Type type, JMethod container) HeapModel.getMockObj
(Descriptor desc, Object alloc, Type type, JMethod container, boolean isFunctional) ModifierConstructorDescriptionMockObj
(Descriptor desc, Object alloc, Type type, JMethod container, boolean isFunctional) -
Uses of JMethod in pascal.taie.analysis.pta.core.solver
Modifier and TypeMethodDescriptionEntryPoint.method()
Returns the value of themethod
record component.Modifier and TypeMethodDescriptionvoid
DefaultSolver.addIgnoredMethod
(JMethod method) void
Solver.addIgnoredMethod
(JMethod method) If a plugin takes over the analysis of a method, and wants this solver to ignore the method (for precision and/or efficiency reasons), then it could call this API with the method.ModifierConstructorDescriptionDeclaredParamProvider
(JMethod method, HeapModel heapModel) DeclaredParamProvider
(JMethod method, HeapModel heapModel, int k) EntryPoint
(JMethod method, ParamProvider paramProvider) Creates an instance of aEntryPoint
record class. -
Uses of JMethod in pascal.taie.analysis.pta.plugin
Modifier and TypeMethodDescriptionvoid
ClassInitializer.onNewMethod
(JMethod method) void
CompositePlugin.onNewMethod
(JMethod method) void
ConstraintChecker.onNewMethod
(JMethod method) default void
Plugin.onNewMethod
(JMethod method) Invoked when a new reachable method is discovered.void
void
void
void
default void
Invoked when a new reachable stmt is discovered. -
Uses of JMethod in pascal.taie.analysis.pta.plugin.exception
Modifier and TypeMethodDescriptionvoid
ExceptionAnalysis.onNewMethod
(JMethod method) For the throw statements in the method, analyzes and records all the exception entries that handle the exceptions thrown by the statements.void
Establishes the map from all exception references to related throw statements. -
Uses of JMethod in pascal.taie.analysis.pta.plugin.invokedynamic
-
Uses of JMethod in pascal.taie.analysis.pta.plugin.reflection
-
Uses of JMethod in pascal.taie.analysis.pta.plugin.taint
Modifier and TypeMethodDescriptionCallSource.method()
Returns the value of themethod
record component.ParamSanitizer.method()
Returns the value of themethod
record component.ParamSource.method()
Returns the value of themethod
record component.Sink.method()
Returns the value of themethod
record component.TaintTransfer.method()
Returns the value of themethod
record component.ModifierConstructorDescriptionCallSource
(JMethod method, IndexRef indexRef, Type type) Creates an instance of aCallSource
record class.ParamSanitizer
(JMethod method, int index) Creates an instance of aParamSanitizer
record class.ParamSource
(JMethod method, IndexRef indexRef, Type type) Creates an instance of aParamSource
record class.Creates an instance of aSink
record class.TaintTransfer
(JMethod method, IndexRef from, IndexRef to, Type type) Creates an instance of aTaintTransfer
record class. -
Uses of JMethod in pascal.taie.analysis.pta.plugin.util
Modifier and TypeFieldDescriptionAbstractIRModel.handlers
Deprecated.protected final Map<JMethod,
TriConsumer<CSVar, PointsToSet, Invoke>> AbstractModel.handlers
Deprecated.AnalysisModelPlugin.handlers
IRModelPlugin.handlers
protected final Map<JMethod,
Collection<Stmt>> AbstractIRModel.method2GenStmts
Deprecated.protected final Map<JMethod,
Collection<Stmt>> IRModelPlugin.method2GenStmts
AbstractModel.relevantVarIndexes
Deprecated.AnalysisModelPlugin.relevantVarIndexes
Modifier and TypeMethodDescriptionstatic JMethod
CSObjs.toConstructor
(CSObj csObj) Converts a CSObj of java.lang.reflect.Constructor to corresponding JMethod.static JMethod
Converts a CSObj of java.lang.reflect.Method to corresponding JMethod.Modifier and TypeMethodDescriptionAbstractIRModel.getModeledAPIs()
Deprecated.IRModel.getModeledAPIs()
Deprecated.Modifier and TypeMethodDescriptionvoid
AbstractIRModel.handleNewMethod
(JMethod method) Deprecated.void
IRModel.handleNewMethod
(JMethod method) Deprecated.void
void
protected void
AbstractModel.registerAPIHandler
(JMethod api, TriConsumer<CSVar, PointsToSet, Invoke> handler) Deprecated.protected void
AbstractIRModel.registerHandler
(JMethod api, Function<Invoke, Collection<Stmt>> handler) Deprecated.protected void
AbstractModel.registerRelevantVarIndexes
(JMethod api, int... indexes) Deprecated. -
Uses of JMethod in pascal.taie.analysis.pta.toolkit
Modifier and TypeMethodDescriptionCollectionMethods.get()
PointerAnalysisResultEx.getMethodsInvokedOn
(Obj obj) PointerAnalysisResultExImpl.getMethodsInvokedOn
(Obj obj) Modifier and TypeMethodDescriptionPointerAnalysisResultEx.getObjectsAllocatedIn
(JMethod method) PointerAnalysisResultExImpl.getObjectsAllocatedIn
(JMethod method) PointerAnalysisResultEx.getReceiverObjectsOf
(JMethod method) PointerAnalysisResultExImpl.getReceiverObjectsOf
(JMethod method) -
Uses of JMethod in pascal.taie.analysis.pta.toolkit.scaler
Modifier and TypeMethodDescriptionScaler.run
(PointerAnalysisResult pta, String arg) Parses Scaler argument and runs Scaler.Scaler.selectContext()
Selects context sensitivity variants for the methods in the program. -
Uses of JMethod in pascal.taie.analysis.pta.toolkit.util
Modifier and TypeMethodDescriptionOAGs.computeInvokedMethods
(PointerAnalysisResultEx pta) Computes the methods invoked on all objects in the program. -
Uses of JMethod in pascal.taie.analysis.pta.toolkit.zipper
Modifier and TypeMethodDescriptionZipper.run
(PointerAnalysisResult pta, String arg) Parses Zipper argument and runs Zipper.Zipper.selectPrecisionCriticalMethods()
-
Uses of JMethod in pascal.taie.analysis.sideeffect
-
Uses of JMethod in pascal.taie.frontend.cache
-
Uses of JMethod in pascal.taie.ir
Modifier and TypeMethodDescriptionBuilds IR for concrete methods. -
Uses of JMethod in pascal.taie.ir.exp
-
Uses of JMethod in pascal.taie.ir.proginfo
-
Uses of JMethod in pascal.taie.ir.stmt
-
Uses of JMethod in pascal.taie.language.classes
Modifier and TypeMethodDescriptionDispatches a method reference on a receiver class.Dispatches a method reference on a receiver type.JClass.getClinit()
JClass.getDeclaredMethod
(String methodName) Attempts to retrieve the method with the given name.JClass.getDeclaredMethod
(Subsignature subsignature) Attempts to retrieve the method with given subsignature.ClassHierarchy.getJREMethod
(String methodSig) Obtains a method declared in a JRE class by its signature.ClassHierarchyImpl.getJREMethod
(String methodSig) Obtains a method by its signature.ClassHierarchy.resolveMethod
(MethodRef methodRef) Resolves a method reference.ClassHierarchyImpl.resolveMethod
(MethodRef methodRef) Modifier and TypeMethodDescriptionReflections.getConstructors
(JClass jclass) Reflections.getDeclaredConstructors
(JClass jclass) JClass.getDeclaredMethods()
JClassBuilder.getDeclaredMethods()
Reflections.getDeclaredMethods
(JClass jclass) Reflections.getDeclaredMethods
(JClass jclass, String methodName) Reflections.getMethods
(JClass jclass) Reflections.getMethods
(JClass jclass, String methodName) SignatureMatcher.getMethods
(String methodPattern) Modifier and TypeMethodDescriptionstatic String
StringReps.getDescriptorOf
(JMethod method) static String
StringReps.getSignatureOf
(JMethod method) static String
StringReps.getSubsignatureOf
(JMethod method) -
Uses of JMethod in pascal.taie.language.natives
Modifier and TypeMethodDescriptionDefaultNativeModel.buildNativeIR
(JMethod method) EmptyNativeModel.buildNativeIR
(JMethod method) NativeModel.buildNativeIR
(JMethod method)