| 1 | |
| 2 | #ifndef CS_RISCV_MAP_H |
| 3 | #define CS_RISCV_MAP_Hcxx . . $ `arch/RISCV/RISCVMapping.h:3:9`! |
| 4 | |
| 5 | #include "../../include/capstone/capstone.h"cxx . . $ `<file>/include/capstone/capstone.h`/ |
| 6 | |
| 7 | // given internal insn id, return public instruction info |
| 8 | void RISCV_get_insn_idcxx . . $ RISCV_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# * h, cs_insncxx . . $ cs_insn# * insn, unsigned int id); |
| 9 | |
| 10 | const char *RISCV_insn_namecxx . . $ RISCV_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 11 | |
| 12 | const char *RISCV_group_namecxx . . $ RISCV_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 13 | |
| 14 | const char *RISCV_reg_namecxx . . $ RISCV_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg); |
| 15 | |
| 16 | // map instruction name to instruction ID |
| 17 | riscv_regcxx . . $ riscv_reg# RISCV_map_insncxx . . $ RISCV_map_insn(ab47cba26379829d).(const char *name); |
| 18 | |
| 19 | // map internal raw register to 'public' register |
| 20 | riscv_regcxx . . $ riscv_reg# RISCV_map_registercxx . . $ RISCV_map_register(3443e78f25606d11).(unsigned int r); |
| 21 | |
| 22 | #endif |