x86 Support

Built-in support for the x86 architecture. More...

Functions

int opdis_x86_intel_decoder (const opdis_insn_buf_t in, opdis_insn_t *out, const opdis_byte_t *buf, opdis_off_t offset, opdis_vma_t vma, opdis_off_t length, void *arg)
 The built-in opdis x86 instruction decoder for Intel syntax.
int opdis_x86_att_decoder (const opdis_insn_buf_t in, opdis_insn_t *out, const opdis_byte_t *buf, opdis_off_t offset, opdis_vma_t vma, opdis_off_t length, void *arg)
 The built-in opdis x86 instruction decoder for AT&T syntax.

Detailed Description

Built-in support for the x86 architecture.

This consists of two decoders: one each for the Intel and AT&T syntax assembly language generated by libopcodes.

The AT&T syntax decoder is more suitable for binary analysis, as the delimiters used in this syntax (e.g. $ and *) make it possibly to reconstruct more information about the instruction and operands.


Function Documentation

int opdis_x86_att_decoder ( const opdis_insn_buf_t  in,
opdis_insn_t out,
const opdis_byte_t buf,
opdis_off_t  offset,
opdis_vma_t  vma,
opdis_off_t  length,
void *  arg 
)

The built-in opdis x86 instruction decoder for AT&T syntax.

Note:
The arg parameter is expected to be an opdis_t.
int opdis_x86_intel_decoder ( const opdis_insn_buf_t  in,
opdis_insn_t out,
const opdis_byte_t buf,
opdis_off_t  offset,
opdis_vma_t  vma,
opdis_off_t  length,
void *  arg 
)

The built-in opdis x86 instruction decoder for Intel syntax.

Note:
The arg parameter is expected to be an opdis_t.

Generated on Wed Mar 10 14:30:46 2010 for Opdis Disassembly Library by  doxygen 1.6.1