From 2f84b5c600f08101a6a7ee08738a3e3a32686f46 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 22 Feb 2019 15:36:40 -0500 Subject: Add API for constructing disassembly text --- python/flowgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/flowgraph.py') 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 -- cgit v1.3.1