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.
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.natives
-
Uses of JMethod in pascal.taie.analysis.pta.plugin.reflection
-
Uses of JMethod in pascal.taie.analysis.pta.plugin.taint
Modifier and TypeMethodDescriptionFieldSourcePoint.container()
Returns the value of thecontainer
record component.CallSourcePoint.getContainer()
FieldSourcePoint.getContainer()
ParamSourcePoint.getContainer()
SourcePoint.getContainer()
ParamSourcePoint.sourceMethod()
Returns the value of thesourceMethod
record component.ModifierConstructorDescriptionFieldSourcePoint
(JMethod container, LoadField loadField) Creates an instance of aFieldSourcePoint
record class.ParamSourcePoint
(JMethod sourceMethod, int index) Creates an instance of aParamSourcePoint
record class. -
Uses of JMethod in pascal.taie.analysis.pta.plugin.util
Modifier and TypeFieldDescriptionAbstractIRModel.handlers
protected final Map<JMethod,
TriConsumer<CSVar, PointsToSet, Invoke>> AbstractModel.handlers
protected final Map<JMethod,
Collection<Stmt>> AbstractIRModel.method2GenStmts
AbstractModel.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 TypeMethodDescriptionReflections.getConstructors
(JClass jclass) Reflections.getDeclaredConstructors
(JClass jclass) Reflections.getDeclaredMethods
(JClass jclass) Reflections.getDeclaredMethods
(JClass jclass, String methodName) Reflections.getMethods
(JClass jclass) Reflections.getMethods
(JClass jclass, String methodName) AbstractIRModel.getModeledAPIs()
IRModel.getModeledAPIs()
Modifier and TypeMethodDescriptionvoid
AbstractIRModel.handleNewMethod
(JMethod method) void
IRModel.handleNewMethod
(JMethod method) protected void
AbstractModel.registerAPIHandler
(JMethod api, TriConsumer<CSVar, PointsToSet, Invoke> handler) protected void
AbstractIRModel.registerHandler
(JMethod api, Function<Invoke, Collection<Stmt>> handler) protected void
AbstractModel.registerRelevantVarIndexes
(JMethod api, int... indexes) -
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.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) Attemps 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 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)