Intel® X86 Encoder Decoder
xed-patch.h File Reference
#include "xed-encoder-hl.h"

Functions

Patching decoded instructions
XED_DLL_EXPORT xed_bool_t xed_patch_brdisp (xed_decoded_inst_t *xedd, xed_uint8_t *itext, xed_encoder_operand_t disp)
 Replace a relative/absolute branch displacement. More...
 
XED_DLL_EXPORT xed_bool_t xed_patch_disp (xed_decoded_inst_t *xedd, xed_uint8_t *itext, xed_enc_displacement_t disp)
 Replace a memory displacement. More...
 
XED_DLL_EXPORT xed_bool_t xed_patch_imm0 (xed_decoded_inst_t *xedd, xed_uint8_t *itext, xed_encoder_operand_t imm0)
 Replace an imm0 immediate value. More...