4 #ifdef CAPSTONE_HAS_X86
6 #include "../../cs_priv.h"
7 #include "../../MCRegisterInfo.h"
74 #if !defined(CAPSTONE_DIET) && !defined(CAPSTONE_X86_ATT_DISABLE)
78 #elif !defined(CAPSTONE_DIET) && defined(CAPSTONE_X86_ATT_DISABLE)
void X86_init(MCRegisterInfo *MRI)
bool X86_getInstruction(csh handle, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info)
void X86_ATT_printInst(MCInst *MI, SStream *OS, void *Info)
void X86_Intel_printInst(MCInst *MI, SStream *OS, void *Info)
const char * X86_reg_name(csh handle, unsigned int reg)
const char * X86_insn_name(csh handle, unsigned int id)
void X86_reg_access(const cs_insn *insn, cs_regs regs_read, uint8_t *regs_read_count, cs_regs regs_write, uint8_t *regs_write_count)
void X86_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
const uint8_t regsize_map_32[]
const uint8_t regsize_map_64[]
const char * X86_group_name(csh handle, unsigned int id)
cs_err X86_option(cs_struct *handle, cs_opt_type type, size_t value)
cs_err X86_global_init(cs_struct *ud)
static mcore_handle handle
@ CS_MODE_64
64-bit mode (X86, PPC)
cs_opt_type
Runtime option for the disassembled engine.
@ CS_OPT_MODE
Change engine's mode at run-time.
@ CS_OPT_SYNTAX
Assembly output syntax.
@ CS_OPT_SYNTAX_INTEL
X86 Intel asm syntax - default on X86 (CS_OPT_SYNTAX).
@ CS_OPT_SYNTAX_ATT
X86 ATT asm syntax (CS_OPT_SYNTAX).
@ CS_OPT_SYNTAX_MASM
X86 Intel Masm syntax (CS_OPT_SYNTAX).
@ CS_OPT_SYNTAX_DEFAULT
Default asm syntax (CS_OPT_SYNTAX).
cs_malloc_t cs_mem_malloc
GetRegisterAccess_t reg_access
PostPrinter_t post_printer
const uint8_t * regsize_map