7-Zip
Find a file
Bill Roberts aac367abfd
aarch64: enable PAC and BTI
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>
2024-10-21 13:45:33 -05:00
Asm aarch64: enable PAC and BTI 2024-10-21 13:45:33 -05:00
C 24.07 2024-06-19 15:32:41 +05:00
CPP 24.07 2024-06-19 15:32:41 +05:00
DOC 24.07 2024-06-19 15:32:41 +05:00
README.md '21.07' 2022-03-18 15:35:13 +05:00

7-Zip on GitHub

7-Zip website: 7-zip.org