Skip to content

Commit

Permalink
Fix #2234.
Browse files Browse the repository at this point in the history
- BL, BLR don't read SP.
- Add branch flags.
  • Loading branch information
Rot127 committed Jan 6, 2024
1 parent b9c260e commit ae11ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/AArch64/AArch64GenCSMappingInsn.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
{
Expand Down

0 comments on commit ae11ac3

Please sign in to comment.