aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/arch/RISCV/RISCVInstPrinter.h
blob: 466c3f86dbdcf9f17ad94a4da593374359254c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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