Skip to main content

opnd_get_segment

Function opnd_get_segment 

Source
pub unsafe extern "C" fn opnd_get_segment(opnd: opnd_t) -> reg_id_t
Expand description

Assumes \p opnd is a (near or far) memory reference of any type. Returns \p opnd’s segment (a DR_SEG_ constant), or DR_REG_NULL if it is a near memory reference.