diff options
| author | Truman Kilen <trumank@users.noreply.github.com> | 2025-12-04 12:19:40 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-04 13:19:40 -0500 |
| commit | 631f28123beca903701b3140031ee0b9d06511e5 (patch) | |
| tree | 7af3cd950576ca8d2c7f029d0ab796e5924222a3 /rust/src/low_level_il/function.rs | |
| parent | d9ff4032894bd342b6e1ad7c1fd8888363980aaa (diff) | |
Pass arch to finalized LowLevelILFunction (#7729)
Co-authored-by: Mason Reed <mason@vector35.com>
Diffstat (limited to 'rust/src/low_level_il/function.rs')
| -rw-r--r-- | rust/src/low_level_il/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/low_level_il/function.rs b/rust/src/low_level_il/function.rs index b473b64d..15a83c19 100644 --- a/rust/src/low_level_il/function.rs +++ b/rust/src/low_level_il/function.rs @@ -254,7 +254,7 @@ impl Ref<LowLevelILFunction<Mutable, NonSSA>> { unsafe { BNFinalizeLowLevelILFunction(self.handle); // Now that we have finalized return the function as is so the caller can reference the "finalized function". - LowLevelILFunction::from_raw(self.handle).to_owned() + LowLevelILFunction::from_raw_with_arch(self.handle, self.arch).to_owned() } } } |
