Class InvokeDynamicAnalysis
java.lang.Object
pascal.taie.analysis.pta.plugin.invokedynamic.InvokeDynamicAnalysis
- All Implemented Interfaces:
Plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewCallEdge
(Edge<CSCallSite, CSMethod> edge) Invoked when a new call graph edge is discovered.void
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
Invoked when a new reachable stmt is discovered.void
Sets pointer analysis solver which will be used later by the plugin.static boolean
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, onNewMethod, onStart, onUnresolvedCall
-
Constructor Details
-
InvokeDynamicAnalysis
public InvokeDynamicAnalysis()
-
-
Method Details
-
useMethodHandle
public static boolean useMethodHandle()- Returns:
- true if java.lang.invoke.MethodHandle is used by the program being analyzed, otherwise false.
-
setSolver
Description copied from interface:Plugin
Sets pointer analysis solver which will be used later by the plugin. -
onNewStmt
Description copied from interface:Plugin
Invoked when a new reachable stmt is discovered. -
onNewCallEdge
Description copied from interface:Plugin
Invoked when a new call graph edge is discovered.- Specified by:
onNewCallEdge
in interfacePlugin
- Parameters:
edge
- new call graph edge
-
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
-