From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- capstone/arch/RISCV/RISCVInstPrinter.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 capstone/arch/RISCV/RISCVInstPrinter.h (limited to 'capstone/arch/RISCV/RISCVInstPrinter.h') 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 -- cgit