4 #ifdef CAPSTONE_HAS_SYSZ
9 #include "../../utils.h"
13 #define GET_INSTRINFO_ENUM
17 static const name_map reg_name_maps[] = {
74 { 0 }, { 0 }, { 0 }, 0, 0
103 insn->detail->groups[insn->detail->groups_count] =
SYSZ_GRP_JUMP;
104 insn->detail->groups_count++;
111 #ifndef CAPSTONE_DIET
112 static const name_map insn_name_maps[] = {
799 static const name_map alias_insn_names[] = {
806 #ifndef CAPSTONE_DIET
814 if (alias_insn_names[
i].
id ==
id)
815 return alias_insn_names[
i].
name;
818 return insn_name_maps[
id].
name;
824 #ifndef CAPSTONE_DIET
841 #ifndef CAPSTONE_DIET
851 static const unsigned int map[] = { 0,
static name_map group_name_maps[]
void SystemZ_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
sysz_reg SystemZ_map_register(unsigned int r)
const char * SystemZ_reg_name(csh handle, unsigned int reg)
const char * SystemZ_group_name(csh handle, unsigned int id)
const char * SystemZ_insn_name(csh handle, unsigned int id)
static mcore_handle handle
sysz_reg
SystemZ registers.
@ SYSZ_GRP_INTERLOCKEDACCESS1
@ SYSZ_GRP_JUMP
= CS_GRP_JUMP
@ SYSZ_GRP_INVALID
= CS_GRP_INVALID
@ SYSZ_GRP_LOADSTOREONCOND
size_t map(int syms, int left, int len)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
unsigned int count_positive(const uint16_t *list)
unsigned int count_positive8(const unsigned char *list)
unsigned short insn_find(const insn_map *insns, unsigned int max, unsigned int id, unsigned short **cache)
const char * id2name(const name_map *map, int max, const unsigned int id)
static struct insnlist * insns[64]