aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/arch/RISCV/RISCVInstPrinter.h
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/arch/RISCV/RISCVInstPrinter.h')
-rw-r--r--capstone/arch/RISCV/RISCVInstPrinter.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/capstone/arch/RISCV/RISCVInstPrinter.h b/capstone/arch/RISCV/RISCVInstPrinter.h
new file mode 100644
index 000000000..466c3f86d
--- /dev/null
+++ b/capstone/arch/RISCV/RISCVInstPrinter.h
@@ -0,0 +1,24 @@
+//===-- RISCVInstPrinter.h - Convert RISCV MCInst to asm 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 a RISCV MCInst to a .s file.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef CS_RISCVINSTPRINTER_H
+#define CS_RISCVINSTPRINTER_H
+
+#include "../../MCInst.h"
+#include "../../SStream.h"
+
+void RISCV_printInst(MCInst * MI, SStream * O, void *info);
+
+void RISCV_post_printer(csh ud, cs_insn * insn, char *insn_asm, MCInst * mci);
+
+#endif