arm: Added instruction group ARM_GRP_INT, ARM_INS_SVC is now using it.

This commit is contained in:
derrek 2015-05-08 13:08:55 +02:00
parent 2dbe2e6847
commit 01a744c329
2 changed files with 3 additions and 2 deletions

View File

@ -2146,7 +2146,7 @@
{
ARM_SVC, ARM_INS_SVC,
#ifndef CAPSTONE_DIET
{ ARM_REG_PC, 0 }, { ARM_REG_LR, 0 }, { ARM_GRP_ARM, ARM_GRP_CALL, 0 }, 0, 0
{ ARM_REG_PC, 0 }, { ARM_REG_LR, 0 }, { ARM_GRP_ARM, ARM_GRP_INT, 0 }, 0, 0
#endif
},
{
@ -13264,7 +13264,7 @@
{
ARM_tSVC, ARM_INS_SVC,
#ifndef CAPSTONE_DIET
{ ARM_REG_PC, 0 }, { ARM_REG_LR, 0 }, { ARM_GRP_THUMB, ARM_GRP_THUMB1ONLY, ARM_GRP_CALL, 0 }, 0, 0
{ ARM_REG_PC, 0 }, { ARM_REG_LR, 0 }, { ARM_GRP_THUMB, ARM_GRP_THUMB1ONLY, ARM_GRP_INT, 0 }, 0, 0
#endif
},
{

View File

@ -888,6 +888,7 @@ typedef enum arm_insn_group {
ARM_GRP_JUMP, // = CS_GRP_JUMP
ARM_GRP_CALL, // = CS_GRP_CALL
ARM_GRP_PRIVILEGE = 6, // = CS_GRP_PRIVILEGE
ARM_GRP_INT, // = CS_GRP_INT
//> Architecture-specific groups
ARM_GRP_CRYPTO = 128,