Rizin
unix-like reverse engineering framework and cli tools
SparcMapping.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_SPARC_MAP_H
5 #define CS_SPARC_MAP_H
6 
7 #include "capstone/capstone.h"
8 
9 // return name of regiser in friendly string
10 const char *Sparc_reg_name(csh handle, unsigned int reg);
11 
12 // given internal insn id, return public instruction info
13 void Sparc_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id);
14 
15 const char *Sparc_insn_name(csh handle, unsigned int id);
16 
17 const char *Sparc_group_name(csh handle, unsigned int id);
18 
19 // map internal raw register to 'public' register
21 
22 // map instruction name to instruction ID (public)
23 // this is for alias instructions only
25 
26 // map CC string to CC id
28 
30 
32 
33 #endif
34 
sparc_reg Sparc_map_insn(const char *name)
sparc_hint Sparc_map_hint(const char *name)
const char * Sparc_group_name(csh handle, unsigned int id)
const char * Sparc_reg_name(csh handle, unsigned int reg)
sparc_cc Sparc_map_FCC(const char *name)
const char * Sparc_insn_name(csh handle, unsigned int id)
void Sparc_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
sparc_cc Sparc_map_ICC(const char *name)
sparc_reg Sparc_map_register(unsigned int r)
static mcore_handle handle
Definition: asm_mcore.c:8
size_t csh
Definition: capstone.h:71
#define r
Definition: crypto_rc6.c:12
#define reg(n)
#define h(i)
Definition: sha256.c:48
Definition: z80asm.h:102
sparc_hint
Branch hint.
Definition: sparc.h:62
sparc_reg
SPARC registers.
Definition: sparc.h:78
sparc_cc
Enums corresponding to Sparc condition codes, both icc's and fcc's.
Definition: sparc.h:22