Skip to main content

drwrap_is_redirect_requested

Function drwrap_is_redirect_requested 

Source
pub unsafe extern "C" fn drwrap_is_redirect_requested(
    wrapcxt: *mut c_void,
) -> bool_
Expand description

May only be called from a \p drwrap_wrap post-function callback. This function queries the drwrap state to determine whether a prior post-function callback has requested redirection to another \p pc (in which case the #dr_mcontext_t in the \p wrapcxt may no longer be changed).

\return true if a prior post-function callback has requested a redirect