aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/arch/X86/X86InstPrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/arch/X86/X86InstPrinter.h')
-rw-r--r--capstone/arch/X86/X86InstPrinter.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/capstone/arch/X86/X86InstPrinter.h b/capstone/arch/X86/X86InstPrinter.h
new file mode 100644
index 000000000..a2f2860bb
--- /dev/null
+++ b/capstone/arch/X86/X86InstPrinter.h
@@ -0,0 +1,26 @@
+//= X86IntelInstPrinter.h - Convert X86 MCInst to assembly syntax -*- C++ -*-=//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This class prints an X86 MCInst to Intel style .s file syntax.
+//
+//===----------------------------------------------------------------------===//
+
+/* Capstone Disassembly Engine */
+/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2019 */
+
+#ifndef CS_X86_INSTPRINTER_H
+#define CS_X86_INSTPRINTER_H
+
+#include "../../MCInst.h"
+#include "../../SStream.h"
+
+void X86_Intel_printInst(MCInst *MI, SStream *OS, void *Info);
+void X86_ATT_printInst(MCInst *MI, SStream *OS, void *Info);
+
+#endif