XED
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xed-ild.h File Reference

instruction length decoder More...

#include "xed-common-hdrs.h"
#include "xed-common-defs.h"
#include "xed-portability.h"
#include "xed-types.h"
#include "xed-decoded-inst.h"
#include "xed-operand-accessors.h"

Go to the source code of this file.

Functions

XED_DLL_EXPORT xed_uint_t xed_instruction_length_decode (xed_decoded_inst_t *d)
 An instruction length decoder. More...
 

Detailed Description

instruction length decoder

Definition in file xed-ild.h.

Function Documentation

XED_DLL_EXPORT xed_uint_t xed_instruction_length_decode ( xed_decoded_inst_t d)

An instruction length decoder.

This does not indicate if instructions are valid or not. It only attempts to guess the overall length of the instruction. The ild structure is modified.

Parameters
d- should be initialized
Returns
the length in bytes of the instruction, valid or not.