mirror of
https://github.com/ip7z/7zip.git
synced 2025-12-06 07:12:00 +01:00
Enable Pointer Authentication Codes (PAC) and Branch Target Identification (BTI) support for ARM 64 targets. Since the code base has no indirect branches or indirect jumps to any of the assembly code, no need to mark up any of the assembly with PAC or BTI instructions. For BTI to work, all object files linked for a unit of execution, whether an executable or a library must have the GNU Notes section of the ELF file marked to indicate BTI support. This is so loader/linkers can apply the proper permission bits (PROT_BRI) on the memory region. PAC can also be annotated in the GNU ELF notes section, but it's not required for enablement, as interleaved PAC and non-pac code works as expected since it's the callee that performs all the checking. Signed-off-by: Bill Roberts <bill.roberts@arm.com> |
||
|---|---|---|
| Asm | ||
| C | ||
| CPP | ||
| DOC | ||
| README.md | ||