Skip to main content

drmgr_register_restore_state_event

Function drmgr_register_restore_state_event 

Source
pub unsafe extern "C" fn drmgr_register_restore_state_event(
    func: Option<unsafe extern "C" fn(drcontext: *mut c_void, tag: *mut c_void, mcontext: *mut dr_mcontext_t, restore_memory: bool_, app_code_consistent: bool_)>,
) -> bool_
Expand description

Registers a callback function for the restore state event, which behaves just like DR’s restore state event dr_register_restore_state_event(). \return whether successful.