Merge pull request #279 from radare/arm64-priv

add ARM64_GRP_PRIVILEGE group and tag some instructions
test2
Nguyen Anh Quynh 10 years ago
commit 681070ccf4
  1. 6
      arch/AArch64/AArch64MappingInsn.inc
  2. 1
      include/capstone/arm64.h

@ -6436,19 +6436,19 @@
{
AArch64_MRS, ARM64_INS_MRS,
#ifndef CAPSTONE_DIET
{ 0 }, { 0 }, { 0 }, 0, 0
{ 0 }, { 0 }, { ARM64_GRP_PRIVILEGE, 0 }, 0, 0
#endif
},
{
AArch64_MSR, ARM64_INS_MSR,
#ifndef CAPSTONE_DIET
{ 0 }, { 0 }, { 0 }, 0, 0
{ 0 }, { 0 }, { ARM64_GRP_PRIVILEGE, 0 }, 0, 0
#endif
},
{
AArch64_MSRpstate, ARM64_INS_MSR,
#ifndef CAPSTONE_DIET
{ 0 }, { ARM64_REG_NZCV, 0 }, { 0 }, 0, 0
{ 0 }, { ARM64_REG_NZCV, 0 }, { ARM64_GRP_PRIVILEGE, 0 }, 0, 0
#endif
},
{

@ -1134,6 +1134,7 @@ typedef enum arm64_insn_group {
//> Generic groups
// all jump instructions (conditional+direct+indirect jumps)
ARM64_GRP_JUMP, // = CS_GRP_JUMP
ARM64_GRP_PRIVILEGE = 6, // = CS_GRP_PRIVILEGE
//> Architecture-specific groups
ARM64_GRP_CRYPTO = 128,

Loading…
Cancel
Save