diff options
| author | Mark Rowe <mrowe@bdash.net.nz> | 2025-04-24 14:12:24 -0700 |
|---|---|---|
| committer | Mason Reed <35282038+emesare@users.noreply.github.com> | 2025-04-26 15:32:19 -0400 |
| commit | 2f441b4fc4729b2bc728905e93f35ea7896ce8b3 (patch) | |
| tree | f08ed679f8a71e791e6ee32044be3de8e9156b83 /rust/src/low_level_il/function.rs | |
| parent | 63a0eb3921b09341135877aab072fd3e37bba497 (diff) | |
Add generate_ssa_form to LowLevelILFunction
Diffstat (limited to 'rust/src/low_level_il/function.rs')
| -rw-r--r-- | rust/src/low_level_il/function.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/src/low_level_il/function.rs b/rust/src/low_level_il/function.rs index 9fdc17f5..85037632 100644 --- a/rust/src/low_level_il/function.rs +++ b/rust/src/low_level_il/function.rs @@ -198,6 +198,12 @@ impl LowLevelILFunction<CoreArchitecture, Mutable, NonSSA<LiftedNonSSA>> { unsafe { Self::ref_from_raw(arch, handle) } } + + pub fn generate_ssa_form(&self) { + use binaryninjacore_sys::BNGenerateLowLevelILSSAForm; + + unsafe { BNGenerateLowLevelILSSAForm(self.handle) }; + } } impl<A, M, F> ToOwned for LowLevelILFunction<A, M, F> |
