From 6d2c5875362424c4630dda94aeb98263a98bcce3 Mon Sep 17 00:00:00 2001 From: JustEnuff2BDangerous Date: Wed, 18 Jan 2017 17:35:42 +0000 Subject: [PATCH] Patch for issue #842 The SETEND instruction is a 16 bit Thumb instruction which is included in T variants of ARMv6 and above, but is not available in M-Class cores (see ARM Compiler toolchain Assembler Reference Ver 5.0). To be consistent with other similar instructions its group flags have been updated to be: {ARM_GRP_THUMB, ARM_GRP_V6, ARM_GRP_NOTMCLASS,0} --- arch/ARM/ARMMapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ARM/ARMMapping.c b/arch/ARM/ARMMapping.c index fe2f7268..555c5f39 100644 --- a/arch/ARM/ARMMapping.c +++ b/arch/ARM/ARMMapping.c @@ -13418,7 +13418,7 @@ static insn_map insns[] = { { ARM_tSETEND, ARM_INS_SETEND, #ifndef CAPSTONE_DIET - { 0 }, { 0 }, { ARM_GRP_NOTMCLASS, 0 }, 0, 0 + { 0 }, { 0 }, { ARM_GRP_THUMB, ARM_GRP_V6, ARM_GRP_NOTMCLASS, 0}, 0, 0 #endif }, {