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

Method llil_function

rust/src/workflow.rs:71–82  ·  view source on GitHub ↗

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,
    )

Source from the content-addressed store, hash-verified

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.

Callers 1

example_activityFunction · 0.80

Calls 2

archMethod · 0.45
functionMethod · 0.45

Tested by

no test coverage detected