diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-06-10 18:38:47 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-06-11 17:37:30 -0400 |
| commit | 7714756208488751236371949777023618888407 (patch) | |
| tree | 3e8dcfcabb9736cc03ad7ad2d521e71b7b5fe25b /function.cpp | |
| parent | 4559573522332364873709280012593875935285 (diff) | |
API to create immediate function graphs
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index 593085d2..2e6b702e 100644 --- a/function.cpp +++ b/function.cpp @@ -1292,6 +1292,13 @@ Ref<FlowGraph> Function::CreateFunctionGraph(const FunctionViewType& type, Disas } +Ref<FlowGraph> Function::CreateFunctionGraphImmediate(const FunctionViewType& type, DisassemblySettings* settings) +{ + BNFlowGraph* graph = BNCreateImmediateFunctionGraph(m_object, type.ToAPIObject(), settings ? settings->GetObject() : nullptr); + return new CoreFlowGraph(graph); +} + + map<int64_t, vector<VariableNameAndType>> Function::GetStackLayout() { size_t count; |
