From 7714756208488751236371949777023618888407 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 10 Jun 2025 18:38:47 -0400 Subject: API to create immediate function graphs --- python/highlevelil.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/highlevelil.py') diff --git a/python/highlevelil.py b/python/highlevelil.py index 101b2e9f..1ac81617 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -4608,6 +4608,13 @@ class HighLevelILFunction: settings_obj = None return flowgraph.CoreFlowGraph(core.BNCreateHighLevelILFunctionGraph(self.handle, settings_obj)) + def create_graph_immediate(self, settings: Optional['function.DisassemblySettings'] = None) -> 'flowgraph.CoreFlowGraph': + if settings is not None: + settings_obj = settings.handle + else: + settings_obj = None + return flowgraph.CoreFlowGraph(core.BNCreateHighLevelILImmediateFunctionGraph(self.handle, settings_obj)) + @property def il_form(self) -> FunctionGraphType: if len(list(self.basic_blocks)) < 1: -- cgit v1.3.1