| 1 | /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/Sparc/SparcMapping.h`/ |
| 2 | /* By Nguyen Anh Quynh <[email protected]>, 2013-2015 */ |
| 3 | |
| 4 | #ifndef CS_SPARC_MAP_H |
| 5 | #define CS_SPARC_MAP_Hcxx . . $ `arch/Sparc/SparcMapping.h:5:9`! |
| 6 | |
| 7 | #include "capstone/capstone.h"cxx . . $ `<file>/include/capstone/capstone.h`/ |
| 8 | |
| 9 | // return name of regiser in friendly string |
| 10 | const char *Sparc_reg_namecxx . . $ Sparc_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg); |
| 11 | |
| 12 | // given internal insn id, return public instruction info |
| 13 | void Sparc_get_insn_idcxx . . $ Sparc_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# *h, cs_insncxx . . $ cs_insn# *insn, unsigned int id); |
| 14 | |
| 15 | const char *Sparc_insn_namecxx . . $ Sparc_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 16 | |
| 17 | const char *Sparc_group_namecxx . . $ Sparc_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 18 | |
| 19 | // map internal raw register to 'public' register |
| 20 | sparc_regcxx . . $ sparc_reg# Sparc_map_registercxx . . $ Sparc_map_register(32f5fa11b4aa13da).(unsigned int r); |
| 21 | |
| 22 | // map instruction name to instruction ID (public) |
| 23 | // this is for alias instructions only |
| 24 | sparc_regcxx . . $ sparc_reg# Sparc_map_insncxx . . $ Sparc_map_insn(8f16c0be041fb773).(const char *name); |
| 25 | |
| 26 | // map CC string to CC id |
| 27 | sparc_cccxx . . $ sparc_cc# Sparc_map_ICCcxx . . $ Sparc_map_ICC(be3339754cb96f26).(const char *name); |
| 28 | |
| 29 | sparc_cccxx . . $ sparc_cc# Sparc_map_FCCcxx . . $ Sparc_map_FCC(be3339754cb96f26).(const char *name); |
| 30 | |
| 31 | sparc_hintcxx . . $ sparc_hint# Sparc_map_hintcxx . . $ Sparc_map_hint(f4315f2a0b8bfba3).(const char *name); |
| 32 | |
| 33 | #endif |
| 34 |