Skip to main content

get_x86_mode

Function get_x86_mode 

Source
pub unsafe extern "C" fn get_x86_mode(drcontext: *mut c_void) -> bool_
Expand description

The decode and encode routines use a per-thread persistent flag that indicates whether to treat code as 32-bit (x86) or 64-bit (x64). This routine returns the value of that flag.

\note For 64-bit DR builds only.

\deprecated Replaced by dr_get_isa_mode().