diff options
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() } } } |
