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 /python/lowlevelil.py | |
| parent | 4559573522332364873709280012593875935285 (diff) | |
API to create immediate function graphs
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 7 |
1 files changed, 7 insertions, 0 deletions
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): """ |
