Files
cpython/Python
stratakisandVictor Stinner d9d98e0f5e [3.12] gh-139808: Add branch protections for aarch64 in asm_trampoline.S (#130864) (#150198)
Apply protection against ROP/JOP attacks for aarch64 on asm_trampoline.S.

The BTI flag must be applied in assembler sources for this class
of attacks to be mitigated on newer aarch64 processors.

See also:
https://sourceware.org/annobin/annobin.html/Test-branch-protection.html
and
https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/enabling-pac-and-bti-on-aarch64

Co-authored-by: Victor Stinner <vstinner@python.org>
2026-08-04 11:46:47 +02:00
..
2009-04-27 20:54:42 +00:00

Miscellaneous source files for the main Python shared library