summaryrefslogtreecommitdiffstats
path: root/Python/asm_trampoline.S
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-136541: Fix several problems of perf trampolines in x86_64 and ↵Pablo Galindo Salgado2025-07-111-3/+4
| | | | | | | | | | | aarch64 (GH-136500) (#136545) This commit fixes the following problems: * The x86_64 trampolines are not preserving frame pointers * The hardcoded offsets to the code segment from the FDE only worked properly for x64_64 * The CIE data was not following conventions of aarch64 * The eh_frame for aarch64 was not fully correct (cherry picked from commit 236f733d8ffb3d587e1167fa0a0248c24512e7fd)
* [3.13] gh-128605: Add branch protections for x86_64 in asm_trampoline.S ↵stratakis2025-06-111-0/+22
| | | | | | | | | | | | (#128606) (#135353) Apply Intel Control-flow Technology for x86-64 on asm_trampoline.S. Required for mitigation against return-oriented programming (ROP) and Call or Jump Oriented Programming (COP/JOP) attacks. Manual application is required for the assembly files. See also: https://sourceware.org/annobin/annobin.html/Test-cf-protection.html
* [3.13] gh-128605: Revert "Add branch protections for x86_64 in ↵Miss Islington (bot)2025-06-061-22/+0
| | | | | | | | | | | asm_tr…ampoline.S (GH-128606) (GH-135077)" (GH-135175) (GH-135203) [3.14] gh-128605: Revert "Add branch protections for x86_64 in asm_tr…ampoline.S (GH-128606) (GH-135077)" (GH-135175) This reverts commit 899cca6dbf76bf3e06a99f60a5f996ad6ba0761f, which broke buildbots. (cherry picked from commit b477e21d5cb85bc764d6d9d18d122aa703d7b548) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* [3.13] gh-128605: Add branch protections for x86_64 in asm_trampoline.S ↵Miss Islington (bot)2025-06-031-0/+22
| | | | | | | | | | | | | | | | | (GH-128606) (GH-135077) (#135083) [3.14] gh-128605: Add branch protections for x86_64 in asm_trampoline.S (GH-128606) (GH-135077) Apply Intel Control-flow Technology for x86-64 on asm_trampoline.S. Required for mitigation against return-oriented programming (ROP) and Call or Jump Oriented Programming (COP/JOP) attacks. Manual application is required for the assembly files. See also: https://sourceware.org/annobin/annobin.html/Test-cf-protection.html (cherry picked from commit 899cca6dbf76bf3e06a99f60a5f996ad6ba0761f) Co-authored-by: stratakis <cstratak@redhat.com>
* [3.13] gh-120400 :Support Linux perf profile to see Python calls on RISC-V ↵Miss Islington (bot)2024-06-141-0/+8
| | | | | | | | | architecture (GH-120089) (#120413) gh-120400 :Support Linux perf profile to see Python calls on RISC-V architecture (GH-120089) (cherry picked from commit 4b1e85bafc5bcb8cb70bb17164e07aebf7ad7e8e) Co-authored-by: ixgbe00 <yangwang@iscas.ac.cn> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-96143: Move the perf trampoline files to the Python directory (#98675)Pablo Galindo Salgado2022-10-251-0/+28