binaryninja.binaryview.AnalysisCompletionEvent

class 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. The AnalysisCompletionEvent class takes responsibility for keeping track of the object’s lifetime.

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

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(view, callback)

Initialize self.

cancel()

Attributes

view