Skip to main content

drmgr_instru_events_t

Type Alias drmgr_instru_events_t 

Source
pub type drmgr_instru_events_t = _drmgr_instru_events_t;
Expand description

Specifies the callbacks when registering all \p drmgr’s bb instrumentation events

Aliased Type§

#[repr(C)]
pub struct drmgr_instru_events_t { pub struct_size: usize, pub app2app_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut *mut c_void) -> i32>, pub analysis_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>, pub insertion_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, *mut instr_t, i8, i8, *mut c_void) -> i32>, pub instru2instru_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>, pub meta_instru_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>, }

Fields§

§struct_size: usize

The size of the drmgr_instru_events_t struct.

§app2app_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut *mut c_void) -> i32>

Callback for the app2app event.

§analysis_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>

Callback for the analysis event.

§insertion_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, *mut instr_t, i8, i8, *mut c_void) -> i32>

Callback for the insertion event.

§instru2instru_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>

Callback for the instru2instru event.

§meta_instru_func: Option<unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut c_void) -> i32>

Callback for the meta_instru event.