diff options
author | 2023-10-10 14:33:42 +0000 | |
---|---|---|
committer | 2023-10-10 14:33:42 +0000 | |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/arch/SystemZ/SystemZMapping.h | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'capstone/arch/SystemZ/SystemZMapping.h')
-rw-r--r-- | capstone/arch/SystemZ/SystemZMapping.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/capstone/arch/SystemZ/SystemZMapping.h b/capstone/arch/SystemZ/SystemZMapping.h new file mode 100644 index 000000000..9a6ceb356 --- /dev/null +++ b/capstone/arch/SystemZ/SystemZMapping.h @@ -0,0 +1,23 @@ +/* Capstone Disassembly Engine */ +/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */ + +#ifndef CS_SYSZ_MAP_H +#define CS_SYSZ_MAP_H + +#include "capstone/capstone.h" + +// return name of regiser in friendly string +const char *SystemZ_reg_name(csh handle, unsigned int reg); + +// given internal insn id, return public instruction info +void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id); + +const char *SystemZ_insn_name(csh handle, unsigned int id); + +const char *SystemZ_group_name(csh handle, unsigned int id); + +// map internal raw register to 'public' register +sysz_reg SystemZ_map_register(unsigned int r); + +#endif + |