Skip to main content

drmgr_register_pre_syscall_event_user_data

Function drmgr_register_pre_syscall_event_user_data 

Source
pub unsafe extern "C" fn drmgr_register_pre_syscall_event_user_data(
    func: Option<unsafe extern "C" fn(drcontext: *mut c_void, sysnum: c_int, user_data: *mut c_void) -> bool_>,
    priority: *mut drmgr_priority_t,
    user_data: *mut c_void,
) -> bool_
Expand description

Registers a callback function for the pre-syscall event, ordered by \p priority. Allows for the passing of user data \p user_data which is available upon the execution of the callback. \return whether successful.

See also drmgr_register_pre_syscall_event_ex().