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/lowlevelil.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/lowlevelil.py') diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 09786cd9..6cd87227 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -6128,6 +6128,13 @@ class LowLevelILFunction: settings_obj = None return flowgraph.CoreFlowGraph(core.BNCreateLowLevelILFunctionGraph(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.BNCreateLowLevelILImmediateFunctionGraph(self.handle, settings_obj)) + class LowLevelILBasicBlock(basicblock.BasicBlock): """ -- cgit v1.3.1