[][src]Function xed_sys::xed_patch_relbr

pub unsafe extern "C" fn xed_patch_relbr(
    xedd: *mut xed_decoded_inst_t,
    itext: *mut c_uchar,
    disp: xed_encoder_operand_t
) -> xed_bool_t

Replace a branch displacement. The widths of original displacement and replacement must match. @param xedd A decoded instruction. @param itext The corresponding encoder output, byte array. @param disp A xed_encoder_operand_t object describing the new displacement. @returns xed_bool_t 1=success, 0=failure @ingroup ENCHLPATCH