[][src]Function xed_sys::xed_patch_imm0

pub unsafe extern "C" fn xed_patch_imm0(
    xedd: *mut xed_decoded_inst_t,
    itext: *mut u8,
    imm0: xed_encoder_operand_t
) -> xed_bool_t

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