summaryrefslogtreecommitdiff
path: root/python/highlevelil.py
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 /python/highlevelil.py
parent4559573522332364873709280012593875935285 (diff)
API to create immediate function graphs
Diffstat (limited to 'python/highlevelil.py')
-rw-r--r--python/highlevelil.py7
1 files changed, 7 insertions, 0 deletions
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: