Skip to main content

get_register_name

Function get_register_name 

Source
pub unsafe extern "C" fn get_register_name(
    reg: reg_id_t,
) -> *const c_char
Expand description

Assumes that \p reg is a DR_REG_ 32-bit register constant. Returns the string name for \p reg. \note It uses the global dcontext_t to determine the ISA mode. If the ISA mode is a synthetic one (e.g., #DR_ISA_REGDEPS), it returns the name of a #DR_REG_VIRT0 etc. virtual register.