Rizin
unix-like reverse engineering framework and cli tools
AArch64Mapping.h
Go to the documentation of this file.
1 /* Capstone Disassembly Engine */
2 /* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
3 
4 #ifndef CS_ARM64_MAP_H
5 #define CS_ARM64_MAP_H
6 
7 #include "capstone/capstone.h"
8 
9 // return name of regiser in friendly string
10 const char *AArch64_reg_name(csh handle, unsigned int reg);
11 
12 // given internal insn id, return public instruction info
13 void AArch64_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
14 
15 const char *AArch64_insn_name(csh handle, unsigned int id);
16 
17 const char *AArch64_group_name(csh handle, unsigned int id);
18 
19 // map instruction name to public instruction ID
21 
22 // map internal vregister to public register
24 
25 void arm64_op_addReg(MCInst *MI, int reg);
26 
28 
30 
31 void arm64_op_addFP(MCInst *MI, float fp);
32 
34 
36 
37 void AArch64_reg_access(const cs_insn *insn,
38  cs_regs regs_read, uint8_t *regs_read_count,
39  cs_regs regs_write, uint8_t *regs_write_count);
40 
41 #endif
void arm64_op_addFP(MCInst *MI, float fp)
void arm64_op_addReg(MCInst *MI, int reg)
const char * AArch64_insn_name(csh handle, unsigned int id)
uint8_t * AArch64_get_op_access(cs_struct *h, unsigned int id)
arm64_reg AArch64_map_insn(const char *name)
void arm64_op_addImm(MCInst *MI, int64_t imm)
void arm64_op_addVectorElementSizeSpecifier(MCInst *MI, int sp)
void arm64_op_addVectorArrSpecifier(MCInst *MI, int sp)
void AArch64_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
void AArch64_reg_access(const cs_insn *insn, cs_regs regs_read, uint8_t *regs_read_count, cs_regs regs_write, uint8_t *regs_write_count)
arm64_reg AArch64_map_vregister(unsigned int r)
const char * AArch64_reg_name(csh handle, unsigned int reg)
const char * AArch64_group_name(csh handle, unsigned int id)
#define imm
static mcore_handle handle
Definition: asm_mcore.c:8
arm64_reg
ARM64 registers.
Definition: arm64.h:347
size_t csh
Definition: capstone.h:71
#define r
Definition: crypto_rc6.c:12
#define reg(n)
long int64_t
Definition: sftypes.h:32
unsigned char uint8_t
Definition: sftypes.h:31
#define h(i)
Definition: sha256.c:48
Definition: MCInst.h:88
Definition: z80asm.h:102
static int sp
Definition: z80asm.c:91