diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-07-13 18:43:34 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-07-13 18:43:34 -0400 |
| commit | c5c93fc82b8929d04f62d241ca50228de60fa5f4 (patch) | |
| tree | e9456e0921d0706ab839cf4ca96eba18afec96a4 /python/interaction.py | |
| parent | dfe5d28f0aaee75ccad8c733e23879676ed77c37 (diff) | |
Add ability to update custom flow graphs
Diffstat (limited to 'python/interaction.py')
| -rw-r--r-- | python/interaction.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/interaction.py b/python/interaction.py index 81aeb04f..b9aa0c2a 100644 --- a/python/interaction.py +++ b/python/interaction.py @@ -302,7 +302,7 @@ class InteractionHandler(object): view = binaryview.BinaryView(handle = core.BNNewViewReference(view)) else: view = None - self.show_graph_report(view, title, flowgraph.FlowGraph(core.BNNewFlowGraphReference(graph))) + self.show_graph_report(view, title, flowgraph.CoreFlowGraph(core.BNNewFlowGraphReference(graph))) except: log.log_error(traceback.format_exc()) @@ -567,7 +567,7 @@ class ReportCollection(object): plaintext = core.BNGetReportPlainText(self.handle, i) return HTMLReport(title, contents, plaintext, view) elif report_type == ReportType.FlowGraphReportType: - graph = flowgraph.FlowGraph(core.BNGetReportFlowGraph(self.handle, i)) + graph = flowgraph.CoreFlowGraph(core.BNGetReportFlowGraph(self.handle, i)) return FlowGraphReport(title, graph, view) raise TypeError("invalid report type %s" % repr(report_type)) |
