diff options
| author | Rusty Wagner <rusty@vector35.com> | 2019-02-22 15:36:40 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2019-02-22 15:41:02 -0500 |
| commit | 2f84b5c600f08101a6a7ee08738a3e3a32686f46 (patch) | |
| tree | 909537511998daa9796737e4cd287b89488761f7 /python/flowgraph.py | |
| parent | e7228de8fe2640f126a01064a8485c1270846bd1 (diff) | |
Add API for constructing disassembly text
Diffstat (limited to 'python/flowgraph.py')
| -rw-r--r-- | python/flowgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/flowgraph.py b/python/flowgraph.py index d3c57a56..103eed69 100644 --- a/python/flowgraph.py +++ b/python/flowgraph.py @@ -355,7 +355,7 @@ class FlowGraph(object): graph = self.update() if graph is None: return None - return core.BNNewFlowGraphReference(graph.handle) + return ctypes.cast(core.BNNewFlowGraphReference(graph.handle), ctypes.c_void_p).value except: log.log_error(traceback.format_exc()) return None |
