diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/arch/X86/X86Disassembler.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'capstone/arch/X86/X86Disassembler.h')
-rw-r--r-- | capstone/arch/X86/X86Disassembler.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/capstone/arch/X86/X86Disassembler.h b/capstone/arch/X86/X86Disassembler.h new file mode 100644 index 000000000..80876bc7a --- /dev/null +++ b/capstone/arch/X86/X86Disassembler.h @@ -0,0 +1,28 @@ +//===-- 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. +// +//===----------------------------------------------------------------------===// + +/* Capstone Disassembly Engine */ +/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2019 */ + +#ifndef CS_X86_DISASSEMBLER_H +#define CS_X86_DISASSEMBLER_H + +#include "capstone/capstone.h" + +#include "../../MCInst.h" + +#include "../../MCRegisterInfo.h" +#include "X86DisassemblerDecoderCommon.h" + +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_init(MCRegisterInfo *MRI); + +#endif |