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 /function.cpp | |
| parent | dfe5d28f0aaee75ccad8c733e23879676ed77c37 (diff) | |
Add ability to update custom flow graphs
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/function.cpp b/function.cpp index 62a8e1b0..202f6d77 100644 --- a/function.cpp +++ b/function.cpp @@ -811,7 +811,7 @@ void Function::ApplyAutoDiscoveredType(Type* type) Ref<FlowGraph> Function::CreateFunctionGraph(BNFunctionGraphType type, DisassemblySettings* settings) { BNFlowGraph* graph = BNCreateFunctionGraph(m_object, type, settings ? settings->GetObject() : nullptr); - return new FlowGraph(graph); + return new CoreFlowGraph(graph); } @@ -1396,7 +1396,7 @@ Ref<FlowGraph> Function::GetUnresolvedStackAdjustmentGraph() BNFlowGraph* graph = BNGetUnresolvedStackAdjustmentGraph(m_object); if (!graph) return nullptr; - return new FlowGraph(graph); + return new CoreFlowGraph(graph); } |
