Class TaintAnalysis
java.lang.Object
pascal.taie.analysis.pta.plugin.taint.TaintAnalysis
- All Implemented Interfaces:
Plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFinish()
Invoked when pointer analysis finishes.void
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.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
onNewMethod, onStart, onUnresolvedCall
-
Constructor Details
-
TaintAnalysis
public TaintAnalysis()
-
-
Method Details
-
setSolver
Description copied from interface:Plugin
Sets pointer analysis solver which will be used later by the plugin. -
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
-
onNewStmt
Description copied from interface:Plugin
Invoked when a new reachable stmt is discovered. -
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
-
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
-
onFinish
public void onFinish()Description copied from interface:Plugin
Invoked when pointer analysis finishes. Pointer analysis is supposed to have been finished at this stage, thus this call back should NOT modify pointer analysis results.
-