summaryrefslogtreecommitdiff
path: root/interaction.cpp
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-08-14 19:59:58 -0400
committerRusty Wagner <rusty@vector35.com>2018-08-14 19:59:58 -0400
commit1df50c8093bf3b949055d2670836fa1bb742fc1b (patch)
treef86bd2cab500323be0795c33d1772825dc293e41 /interaction.cpp
parent7c4025df43511852ecb86d8ab608e1da476d90de (diff)
Modify flow graph API to support multiple layout requests for a single graph
Diffstat (limited to 'interaction.cpp')
-rw-r--r--interaction.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/interaction.cpp b/interaction.cpp
index da3942bb..b2e62482 100644
--- a/interaction.cpp
+++ b/interaction.cpp
@@ -431,9 +431,9 @@ void BinaryNinja::ShowGraphReport(const string& title, FlowGraph* graph)
{
Ref<Function> func = graph->GetFunction();
if (func)
- BNShowGraphReport(func->GetView()->GetObject(), title.c_str(), graph->GetGraphObject());
+ BNShowGraphReport(func->GetView()->GetObject(), title.c_str(), graph->GetObject());
else
- BNShowGraphReport(nullptr, title.c_str(), graph->GetGraphObject());
+ BNShowGraphReport(nullptr, title.c_str(), graph->GetObject());
}
@@ -691,5 +691,5 @@ void ReportCollection::AddHTMLReport(Ref<BinaryView> view, const string& title,
void ReportCollection::AddGraphReport(Ref<BinaryView> view, const string& title, Ref<FlowGraph> graph)
{
- BNAddGraphReportToCollection(m_object, view ? view->GetObject() : nullptr, title.c_str(), graph->GetGraphObject());
+ BNAddGraphReportToCollection(m_object, view ? view->GetObject() : nullptr, title.c_str(), graph->GetObject());
}