TODO: This returns LiftedNonSSA because the lifting code was written before we could patch the IL TODO: At some point we need to take the lifting code and make it available to regular IL. [`LowLevelILFunction`] used to represent Low Level IL
(
&self,
)
| 69 | // TODO: At some point we need to take the lifting code and make it available to regular IL. |
| 70 | /// [`LowLevelILFunction`] used to represent Low Level IL |
| 71 | pub unsafe fn llil_function<V: NonSSAVariant>( |
| 72 | &self, |
| 73 | ) -> Option<Ref<LowLevelILFunction<CoreArchitecture, Mutable, NonSSA<V>>>> { |
| 74 | let result = unsafe { BNAnalysisContextGetLowLevelILFunction(self.handle.as_ptr()) }; |
| 75 | let arch = self.function().arch(); |
| 76 | unsafe { |
| 77 | Some(LowLevelILFunction::ref_from_raw( |
| 78 | arch, |
| 79 | NonNull::new(result)?.as_ptr(), |
| 80 | )) |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // TODO: This returns LiftedNonSSA because the lifting code was written before we could patch the IL |
| 85 | // TODO: At some point we need to take the lifting code and make it available to regular IL. |
no test coverage detected