2013-11-27 04:11:31 +00:00
|
|
|
//===-- X86Disassembler.h - Disassembler for x86 and x86_64 -----*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-05-27 02:45:58 +00:00
|
|
|
/* Capstone Disassembly Engine */
|
2019-02-26 07:19:51 +00:00
|
|
|
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2019 */
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2014-01-02 04:44:20 +00:00
|
|
|
#ifndef CS_X86_DISASSEMBLER_H
|
|
|
|
#define CS_X86_DISASSEMBLER_H
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2015-02-24 03:55:55 +00:00
|
|
|
#include "capstone/capstone.h"
|
2013-11-27 04:11:31 +00:00
|
|
|
|
|
|
|
#include "../../MCInst.h"
|
|
|
|
|
2014-08-13 05:01:50 +00:00
|
|
|
#include "../../MCRegisterInfo.h"
|
2013-11-27 04:11:31 +00:00
|
|
|
#include "X86DisassemblerDecoderCommon.h"
|
|
|
|
|
2014-05-07 00:25:24 +00:00
|
|
|
bool X86_getInstruction(csh handle, const uint8_t *code, size_t code_len,
|
2013-12-03 01:51:46 +00:00
|
|
|
MCInst *instr, uint16_t *size, uint64_t address, void *info);
|
2013-11-27 04:11:31 +00:00
|
|
|
|
2014-08-13 05:01:50 +00:00
|
|
|
void X86_init(MCRegisterInfo *MRI);
|
|
|
|
|
2013-11-27 04:11:31 +00:00
|
|
|
#endif
|