From eba3c5a8574285b6253cdf35dbdf4700e54fb8d8 Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Thu, 24 Apr 2025 14:12:24 -0700 Subject: [PATCH] Add generate_ssa_form to LowLevelILFunction --- rust/src/low_level_il/function.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rust/src/low_level_il/function.rs b/rust/src/low_level_il/function.rs index 9fdc17f56e..85037632b3 100644 --- a/rust/src/low_level_il/function.rs +++ b/rust/src/low_level_il/function.rs @@ -198,6 +198,12 @@ impl LowLevelILFunction> { unsafe { Self::ref_from_raw(arch, handle) } } + + pub fn generate_ssa_form(&self) { + use binaryninjacore_sys::BNGenerateLowLevelILSSAForm; + + unsafe { BNGenerateLowLevelILSSAForm(self.handle) }; + } } impl ToOwned for LowLevelILFunction