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

Function cb_recognize_low_level_il

rust/src/function_recognizer.rs:40–54  ·  view source on GitHub ↗
(
        ctxt: *mut c_void,
        bv: *mut BNBinaryView,
        func: *mut BNFunction,
        llil: *mut BNLowLevelILFunction,
    )

Source from the content-addressed store, hash-verified

38 }
39
40 extern "C" fn cb_recognize_low_level_il<R>(
41 ctxt: *mut c_void,
42 bv: *mut BNBinaryView,
43 func: *mut BNFunction,
44 llil: *mut BNLowLevelILFunction,
45 ) -> bool
46 where
47 R: 'static + FunctionRecognizer + Send + Sync,
48 {
49 let context = unsafe { &*(ctxt as *mut FunctionRecognizerHandlerContext<R>) };
50 let bv = unsafe { BinaryView::from_raw(bv).to_owned() };
51 let func = unsafe { Function::from_raw(func).to_owned() };
52 let llil = unsafe { LowLevelILFunction::from_raw(func.arch(), llil).to_owned() };
53 context.recognizer.recognize_low_level_il(&bv, &func, &llil)
54 }
55
56 extern "C" fn cb_recognize_medium_level_il<R>(
57 ctxt: *mut c_void,

Callers

nothing calls this directly

Calls 3

to_ownedMethod · 0.45
archMethod · 0.45

Tested by

no test coverage detected