Rizin
unix-like reverse engineering framework and cli tools
ARMInstPrinter.h
Go to the documentation of this file.
1 //===- ARMInstPrinter.h - Convert ARM MCInst to assembly syntax -*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This class prints an ARM MCInst to a .s file.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 /* Capstone Disassembly Engine */
15 /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
16 
17 #ifndef CS_ARMINSTPRINTER_H
18 #define CS_ARMINSTPRINTER_H
19 
20 #include "../../MCInst.h"
21 #include "../../MCRegisterInfo.h"
22 #include "../../SStream.h"
23 
24 void ARM_printInst(MCInst *MI, SStream *O, void *Info);
25 void ARM_post_printer(csh handle, cs_insn *pub_insn, char *mnem, MCInst *mci);
26 
27 // setup handle->get_regname
29 
30 // specify vector data type for vector instructions
32 
34 
35 void ARM_addReg(MCInst *MI, int reg);
36 
37 // load usermode registers (LDM, STM)
39 
40 // sysreg for MRS/MSR
42 
43 #endif
#define mnem(n, mn)
void ARM_addVectorDataType(MCInst *MI, arm_vectordata_type vd)
void ARM_addSysReg(MCInst *MI, arm_sysreg reg)
void ARM_addVectorDataSize(MCInst *MI, int size)
void ARM_post_printer(csh handle, cs_insn *pub_insn, char *mnem, MCInst *mci)
void ARM_printInst(MCInst *MI, SStream *O, void *Info)
void ARM_getRegName(cs_struct *handle, int value)
void ARM_addReg(MCInst *MI, int reg)
void ARM_addUserMode(MCInst *MI)
static mcore_handle handle
Definition: asm_mcore.c:8
arm_sysreg
Definition: arm.h:52
arm_vectordata_type
Data type for elements of vector instructions.
Definition: arm.h:196
size_t csh
Definition: capstone.h:71
static int value
Definition: cmd_api.c:93
voidpf void uLong size
Definition: ioapi.h:138
#define reg(n)
#define O
Definition: rcond.c:14
Definition: MCInst.h:88
Definition: SStream.h:9