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

Method lifted_il

rust/src/function.rs:548–556  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

546 }
547
548 pub fn lifted_il(&self) -> Result<Ref<LiftedILFunction<CoreArchitecture>>, ()> {
549 unsafe {
550 let llil_ptr = BNGetFunctionLiftedIL(self.handle);
551 match llil_ptr.is_null() {
552 false => Ok(LiftedILFunction::ref_from_raw(self.arch(), llil_ptr)),
553 true => Err(()),
554 }
555 }
556 }
557
558 pub fn lifted_il_if_available(&self) -> Option<Ref<LiftedILFunction<CoreArchitecture>>> {
559 let llil_ptr = unsafe { BNGetFunctionLiftedILIfAvailable(self.handle) };

Callers 1

check_functionFunction · 0.45

Calls 1

archMethod · 0.45

Tested by

no test coverage detected