Class AbstractIRModel
java.lang.Object
pascal.taie.analysis.pta.plugin.util.SolverHolder
pascal.taie.analysis.pta.plugin.util.AbstractIRModel
- All Implemented Interfaces:
IRModel
- Direct Known Subclasses:
ArrayModel
,DoPriviledgedModel
,UnsafeModel
Provides common functionalities for implementing IR-based API models.
-
Field Summary
Fields inherited from class pascal.taie.analysis.pta.plugin.util.SolverHolder
csManager, emptyContext, heapModel, hierarchy, selector, solver, typeSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleNewCSMethod
(CSMethod csMethod) void
handleNewMethod
(JMethod method) protected void
registerHandler
(JMethod api, Function<Invoke, Collection<Stmt>> handler) protected void
protected void
-
Field Details
-
handlers
-
method2GenStmts
-
-
Constructor Details
-
AbstractIRModel
-
-
Method Details
-
registerHandlersByAnnotation
protected void registerHandlersByAnnotation() -
registerHandlers
protected void registerHandlers() -
registerHandler
-
getModeledAPIs
- Specified by:
getModeledAPIs
in interfaceIRModel
-
handleNewMethod
- Specified by:
handleNewMethod
in interfaceIRModel
-
handleNewCSMethod
- Specified by:
handleNewCSMethod
in interfaceIRModel
-