binaryninja.binaryview.AnalysisCompletionEvent

class binaryninja.binaryview.AnalysisCompletionEvent(view, callback)[source]

The AnalysisCompletionEvent object provides an asynchronous mechanism for receiving callbacks when analysis is complete. The callback runs once. A completion event must be added for each new analysis in order to be notified of each analysis completion.

Example:
>>> def on_complete(self):
...     print "Analysis Complete", self.view
...
>>> evt = AnalysisCompletionEvent(bv, on_complete)
>>>
__init__(view, callback)[source]

Methods

__init__(view, callback)
cancel()