diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/workflow.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/src/workflow.rs b/rust/src/workflow.rs index 3dcb1042..ea69d941 100644 --- a/rust/src/workflow.rs +++ b/rust/src/workflow.rs @@ -46,8 +46,7 @@ impl AnalysisContext { /// [`LowLevelILMutableFunction`] used to represent Lifted Level IL pub unsafe fn lifted_il_function(&self) -> Option<Ref<LowLevelILMutableFunction>> { - let func = self.function(); - let result = unsafe { BNGetFunctionLiftedIL(func.handle) }; + let result = unsafe { BNAnalysisContextGetLiftedILFunction(self.handle.as_ptr()) }; unsafe { Some(LowLevelILMutableFunction::ref_from_raw( NonNull::new(result)?.as_ptr(), |
