Skip to main content

instr_get_rel_data_or_instr_target

Function instr_get_rel_data_or_instr_target 

Source
pub unsafe extern "C" fn instr_get_rel_data_or_instr_target(
    instr: *mut instr_t,
    target: *mut app_pc,
) -> bool_
Expand description

If any of \p instr’s operands is a rip-relative data or instruction memory reference, returns the address that reference targets. Else returns false. For instruction references, only PC operands are considered: not instruction pointer operands.

\note Currently this is only implemented for x86.