diff options
| author | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-08-13 18:48:51 -0400 |
| commit | 801b4138784a45643a7201b7e54105ea5eb3b6c4 (patch) | |
| tree | 02916c8e665e7dbc16958b55abe08ff48372abf2 /python/binaryview.py | |
| parent | ac70b362bb4f15b1d1eeced7a44a222f663e695f (diff) | |
Workflows early preview.
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 14b0bdcb..092cceec 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -51,6 +51,7 @@ from binaryninja import highlight from binaryninja import function from binaryninja.function import AddressRange from binaryninja import settings +from binaryninja import workflow from binaryninja import pyNativeStr # 2-3 compatibility @@ -6204,6 +6205,13 @@ class BinaryView(object): """ core.BNReanalyzeAllFunctions(self.handle) + @property + def workflow(self): + handle = core.BNGetWorkflowForBinaryView(self.handle) + if handle is None: + return None + return binaryninja.Workflow(handle = handle) + def rebase(self, address, force = False, progress_func = None): """ ``rebase`` rebase the existing :py:class:`BinaryView` into a new :py:class:`BinaryView` at the specified virtual address |
