MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / lifted_il_function

Method lifted_il_function

rust/src/workflow.rs:50–62  ·  view source on GitHub ↗

[`LowLevelILFunction`] used to represent Low Level IL

(
        &self,
    )

Source from the content-addressed store, hash-verified

48
49 /// [`LowLevelILFunction`] used to represent Low Level IL
50 pub unsafe fn lifted_il_function(
51 &self,
52 ) -> Option<Ref<MutableLiftedILFunction<CoreArchitecture>>> {
53 let func = self.function();
54 let result = unsafe { BNGetFunctionLiftedIL(func.handle) };
55 let arch = self.function().arch();
56 unsafe {
57 Some(LowLevelILFunction::ref_from_raw(
58 arch,
59 NonNull::new(result)?.as_ptr(),
60 ))
61 }
62 }
63
64 pub fn set_lifted_il_function(&self, value: &MutableLiftedILFunction<CoreArchitecture>) {
65 unsafe { BNSetLiftedILFunction(self.handle.as_ptr(), value.handle) }

Callers

nothing calls this directly

Calls 2

functionMethod · 0.45
archMethod · 0.45

Tested by

no test coverage detected