Skip to main content

drmgr_analysis_cb_t

Type Alias drmgr_analysis_cb_t 

Source
pub type drmgr_analysis_cb_t = Option<unsafe extern "C" fn(drcontext: *mut c_void, tag: *mut c_void, bb: *mut instrlist_t, for_trace: bool_, translating: bool_, user_data: *mut *mut c_void) -> dr_emit_flags_t>;
Expand description

Callback function for the second stage: application analysis.

The \p user_data parameter can be used to pass data from this stage to the third stage.

See #dr_emit_flags_t for an explanation of the return value. If any instrumentation pass requests #DR_EMIT_STORE_TRANSLATIONS, they will be stored.

Aliased Type§

pub enum drmgr_analysis_cb_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut c_void, *mut _instrlist_t, i8, i8, *mut *mut c_void) -> i32)

Some value of type T.