| 1 | /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/Mips/MipsMapping.h`/ |
| 2 | /* By Nguyen Anh Quynh <[email protected]>, 2013-2015 */ |
| 3 | |
| 4 | #ifndef CS_MIPS_MAP_H |
| 5 | #define CS_MIPS_MAP_Hcxx . . $ `arch/Mips/MipsMapping.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 *Mips_reg_namecxx . . $ Mips_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg); |
| 11 | |
| 12 | // given internal insn id, return public instruction info |
| 13 | void Mips_get_insn_idcxx . . $ Mips_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# *h, cs_insncxx . . $ cs_insn# *insn, unsigned int id); |
| 14 | |
| 15 | const char *Mips_insn_namecxx . . $ Mips_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 16 | |
| 17 | const char *Mips_group_namecxx . . $ Mips_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 18 | |
| 19 | // map instruction name to instruction ID |
| 20 | mips_regcxx . . $ mips_reg# Mips_map_insncxx . . $ Mips_map_insn(3a779733ad26660c).(const char *name); |
| 21 | |
| 22 | // map internal raw register to 'public' register |
| 23 | mips_regcxx . . $ mips_reg# Mips_map_registercxx . . $ Mips_map_register(204837ed41c32f7a).(unsigned int r); |
| 24 | |
| 25 | #endif |