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 responcibility 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]

x.__init__(…) initializes x; see help(type(x)) for signature

Methods

__init__(view, callback) x.__init__(…) initializes x; see help(type(x)) for signature
cancel()