Class AbstractModel
java.lang.Object
pascal.taie.analysis.pta.plugin.util.SolverHolder
pascal.taie.analysis.pta.plugin.util.AbstractModel
- All Implemented Interfaces:
Model
Deprecated.
Provides common functionalities for implementing API models.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Map<JMethod,
TriConsumer<CSVar, PointsToSet, Invoke>> Deprecated.Deprecated.Deprecated.Fields inherited from class pascal.taie.analysis.pta.plugin.util.SolverHolder
csManager, emptyContext, heapModel, hierarchy, selector, solver, typeSystem
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<PointsToSet>
getArgs
(CSVar csVar, PointsToSet pts, Invoke invoke, int... indexes) Deprecated.For invocation r = v.foo(a0, a1, ..., an); when points-to set of v or any ai (0 ≤ i ≤ n) changes, this convenient method returns points-to sets relevant arguments.void
handleNewInvoke
(Invoke invoke) Deprecated.void
handleNewPointsToSet
(CSVar csVar, PointsToSet pts) Deprecated.boolean
isRelevantVar
(Var var) Deprecated.protected void
registerAPIHandler
(JMethod api, TriConsumer<CSVar, PointsToSet, Invoke> handler) Deprecated.protected void
registerRelevantVarIndexes
(JMethod api, int... indexes) Deprecated.protected void
Deprecated.
-
Field Details
-
relevantVarIndexes
Deprecated. -
relevantVars
Deprecated. -
handlers
Deprecated.
-
-
Constructor Details
-
AbstractModel
Deprecated.
-
-
Method Details
-
registerVarAndHandlers
protected void registerVarAndHandlers()Deprecated. -
registerRelevantVarIndexes
Deprecated. -
registerAPIHandler
Deprecated. -
handleNewInvoke
Deprecated.- Specified by:
handleNewInvoke
in interfaceModel
-
isRelevantVar
Deprecated.- Specified by:
isRelevantVar
in interfaceModel
-
handleNewPointsToSet
Deprecated.- Specified by:
handleNewPointsToSet
in interfaceModel
-
getArgs
Deprecated.For invocation r = v.foo(a0, a1, ..., an); when points-to set of v or any ai (0 ≤ i ≤ n) changes, this convenient method returns points-to sets relevant arguments. For case v/ai == csVar.getVar(), this method returns pts, otherwise, it just returns current points-to set of v/ai.- Parameters:
csVar
- may be v or any ai.pts
- changed part of csVarinvoke
- the call site which contain csVarindexes
- indexes of the relevant arguments
-
AnalysisModelPlugin
instead.