Intel® X86 Encoder Decoder
xed-encode-direct.h File Reference
#include "xed-common-hdrs.h"
#include "xed-portability.h"
#include "xed-types.h"
#include "xed-error-enum.h"
#include <stdarg.h>
#include <string.h>

Data Structures

struct  xed_enc2_req_payload_t
 This structure is filled in by the various XED ENC2 functions. More...
 
union  xed_enc2_req_t
 A wrapper for xed_enc2_req_payload_t . More...
 

Typedefs

typedef void() xed_user_abort_handler_t(const char *format, va_list args)
 

Functions

XED_DLL_EXPORT void xed_emit_seg_prefix (xed_enc2_req_t *r, xed_reg_enum_t reg)
 Emit a legacy segment prefix byte in to the specified request's output buffer. More...
 
static XED_INLINE xed_uint32_t xed_enc2_encoded_length (xed_enc2_req_t *r)
 Returns the number of bytes that were used for the encoding. More...
 
XED_DLL_EXPORT void xed_enc2_error (const char *fmt,...)
 The error handler routine. More...
 
static XED_INLINE void xed_enc2_req_t_init (xed_enc2_req_t *r, xed_uint8_t *output_buffer)
 Zero out a xed_enc2_req_t structure and set the output pointer. More...
 
XED_DLL_EXPORT void xed_enc2_set_error_handler (xed_user_abort_handler_t *fn)
 Set a function taking a variable-number-of-arguments (stdarg) to handle the errors and die. More...
 

Typedef Documentation

◆ xed_user_abort_handler_t

typedef void() xed_user_abort_handler_t(const char *format, va_list args)