fix: various errors in implementation of BTI
All threads resolved!
All threads resolved!
Hej everyone.
During internal testing at Arm we realized that various bits and pieces of the BTI implementation are broken. This commit fixes the known errors
- Amend call type in refmvs. Because these blocks are reached via blr x11, they need to be annotated.
- Add missing BTI landing pads in ipred16.S. Because the subroutines are called via a br from x9, they need annotation with 'bti j' (AARCH64_VALID_JUMP_TARGET).
Could you please have a look?
Thanks & Best Regards. André
Merge request reports
Activity
Filter activity
- Resolved by André Kempe
Is there any way to enable CI testing of this to avoid breaking things?
- Resolved by André Kempe
added 1 commit
- 769bd145 - fix: various errors in implementation of BTI
Seems to be fine now at least as far as checkasm is concerned, ran over the last hours on M2/fedora with
-mbranch-protection=bti
without finding issues.Edited by Janne Grunauchanged milestone to %1.3.0
Please register or sign in to reply