Class NativeModeller
java.lang.Object
pascal.taie.analysis.pta.plugin.natives.NativeModeller
- All Implemented Interfaces:
Plugin
This class models some native calls by "inlining" their side effects
at the call sites to provide better precision for pointer analysis.
-
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
onNewMethod
(JMethod method) Invoked when a new reachable method is discovered.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, onNewPointsToSet, onNewStmt, onUnresolvedCall
-
Constructor Details
-
NativeModeller
public NativeModeller()
-
-
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. -
onNewMethod
Description copied from interface:Plugin
Invoked when a new reachable method is discovered.- Specified by:
onNewMethod
in interfacePlugin
- Parameters:
method
- new reachable method
-
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
-
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
-