summaryrefslogtreecommitdiff
path: root/highlevelil.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-06-10 18:38:47 -0400
committerGlenn Smith <glenn@vector35.com>2025-06-11 17:37:30 -0400
commit7714756208488751236371949777023618888407 (patch)
tree3e8dcfcabb9736cc03ad7ad2d521e71b7b5fe25b /highlevelil.cpp
parent4559573522332364873709280012593875935285 (diff)
API to create immediate function graphs
Diffstat (limited to 'highlevelil.cpp')
-rw-r--r--highlevelil.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/highlevelil.cpp b/highlevelil.cpp
index 91ce5cfc..7e65e1e6 100644
--- a/highlevelil.cpp
+++ b/highlevelil.cpp
@@ -564,6 +564,13 @@ Ref<FlowGraph> HighLevelILFunction::CreateFunctionGraph(DisassemblySettings* set
}
+Ref<FlowGraph> HighLevelILFunction::CreateFunctionGraphImmediate(DisassemblySettings* settings)
+{
+ BNFlowGraph* graph = BNCreateHighLevelILImmediateFunctionGraph(m_object, settings ? settings->GetObject() : nullptr);
+ return new CoreFlowGraph(graph);
+}
+
+
size_t HighLevelILFunction::GetExprIndexForLabel(uint64_t label)
{
return BNGetHighLevelILExprIndexForLabel(m_object, label);