From ae11ac32b586501294b345a439c8c4ceed1c3a8d Mon Sep 17 00:00:00 2001 From: Rot127 Date: Fri, 5 Jan 2024 07:59:28 -0500 Subject: [PATCH] Fix #2234. - BL, BLR don't read SP. - Add branch flags. --- arch/AArch64/AArch64GenCSMappingInsn.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/AArch64/AArch64GenCSMappingInsn.inc b/arch/AArch64/AArch64GenCSMappingInsn.inc index fda1ae75b1..3321532861 100644 --- a/arch/AArch64/AArch64GenCSMappingInsn.inc +++ b/arch/AArch64/AArch64GenCSMappingInsn.inc @@ -10788,14 +10788,14 @@ /* bl $addr */ AArch64_BL /* 1539 */, AArch64_INS_BL, #ifndef CAPSTONE_DIET - { AArch64_REG_SP, 0 }, { AArch64_REG_LR, 0 }, { AArch64_GRP_CALL, AArch64_GRP_BRANCH_RELATIVE, 0 }, 0, 0, {{ 0 }} + { 0 }, { AArch64_REG_LR, 0 }, { AArch64_GRP_CALL, AArch64_GRP_BRANCH_RELATIVE, 0 }, 1, 0, {{ 0 }}, #endif }, { /* blr $Rn */ AArch64_BLR /* 1540 */, AArch64_INS_BLR, #ifndef CAPSTONE_DIET - { AArch64_REG_SP, 0 }, { AArch64_REG_LR, 0 }, { AArch64_GRP_CALL, 0 }, 0, 0, {{ 0 }} + { 0 }, { AArch64_REG_LR, 0 }, { AArch64_GRP_CALL, 0 }, 1, 1, {{ 0 }}, #endif }, {