Package pascal.taie.analysis.pta.plugin
Class ThreadHandler
java.lang.Object
pascal.taie.analysis.pta.plugin.ThreadHandler
- All Implemented Interfaces:
Plugin
Models initialization of system thread group, main thread group,
main thread, and some Thread APIs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewCSMethod
(CSMethod csMethod) Invoked when a new reachable context-sensitive method is discovered.void
onNewPointsToSet
(CSVar csVar, PointsToSet pts) Invoked when set of new objects flow to a context-sensitive variable.void
onStart()
Invoked when pointer analysis starts.void
Sets pointer analysis solver which will be used later by the plugin.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface pascal.taie.analysis.pta.plugin.Plugin
onFinish, onNewCallEdge, onNewMethod, onNewStmt, onUnresolvedCall
-
Constructor Details
-
ThreadHandler
public ThreadHandler()
-
-
Method Details
-
setSolver
Description copied from interface:Plugin
Sets pointer analysis solver which will be used later by the plugin. -
onStart
public void onStart()Description copied from interface:Plugin
Invoked when pointer analysis starts. -
onNewPointsToSet
Description copied from interface:Plugin
Invoked when set of new objects flow to a context-sensitive variable.- Specified by:
onNewPointsToSet
in interfacePlugin
- Parameters:
csVar
- variable whose points-to set changespts
- set of new objects
-
onNewCSMethod
Description copied from interface:Plugin
Invoked when a new reachable context-sensitive method is discovered.- Specified by:
onNewCSMethod
in interfacePlugin
- Parameters:
csMethod
- new reachable context-sensitive method
-