| 1 | //===-- X86Disassembler.h - Disassembler for x86 and x86_64 -----*- C++ -*-===// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | /* Capstone Disassembly Engine */ |
| 11 | /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */ |
| 12 | |
| 13 | #ifndef CS_X86_DISASSEMBLER_H |
| 14 | #define CS_X86_DISASSEMBLER_H |
| 15 | |
| 16 | #include "capstone/capstone.h" |
| 17 | |
| 18 | #include "../../MCInst.h" |
| 19 | |
| 20 | #include "../../MCRegisterInfo.h" |
| 21 | #include "X86DisassemblerDecoderCommon.h" |
| 22 | |
| 23 | bool X86_getInstruction(csh handle, const uint8_t *code, size_t code_len, |
| 24 | MCInst *instr, uint16_t *size, uint64_t address, void *info); |
| 25 | |
| 26 | void X86_init(MCRegisterInfo *MRI); |
| 27 | |
| 28 | #endif |