Add ARM64_GRP_INT to AArch64 for SVC instruction

This commit is contained in:
Zach Riggle 2015-07-27 12:41:57 -04:00
parent b08f4614c5
commit 1e882cf542
3 changed files with 4 additions and 2 deletions

View File

@ -841,6 +841,7 @@ static name_map group_name_maps[] = {
{ ARM64_GRP_CALL, "call" },
{ ARM64_GRP_RET, "return" },
{ ARM64_GRP_PRIVILEGE, "privilege" },
{ ARM64_GRP_INT, "int" },
// architecture-specific groups
{ ARM64_GRP_CRYPTO, "crypto" },

View File

@ -11566,7 +11566,7 @@
{
AArch64_SVC, ARM64_INS_SVC,
#ifndef CAPSTONE_DIET
{ 0 }, { 0 }, { 0 }, 0, 0
{ 0, 0 }, { ARM64_REG_LR, 0 }, { ARM64_GRP_INT, 0 }, 0, 0
#endif
},
{

View File

@ -380,7 +380,7 @@ typedef struct cs_arm64 {
bool update_flags; // does this insn update flags?
bool writeback; // does this insn request writeback? 'True' means 'yes'
// Number of operands of this instruction,
// Number of operands of this instruction,
// or 0 when instruction has no operand.
uint8_t op_count;
@ -1136,6 +1136,7 @@ typedef enum arm64_insn_group {
ARM64_GRP_JUMP, // = CS_GRP_JUMP
ARM64_GRP_CALL,
ARM64_GRP_RET,
ARM64_GRP_INT,
ARM64_GRP_PRIVILEGE = 6, // = CS_GRP_PRIVILEGE
//> Architecture-specific groups