cpython/Python
stratakis aaca85949a
[3.12] gh-128605: Add branch protections for x86_64 in asm_trampolineS (#128606) (#135094)
[3.12] gh-128605: Add branch protections for x86_64 in asm_trampoline.S (#128606)

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
2025-07-10 11:22:14 +01:00
..
clinic [3.12] gh-107526: Revert "gh-100357: Convert several functions in bltinsmodule to AC" (GH-107542) (#130371) 2025-02-26 12:27:33 +03:00
deepfreeze
frozen_modules
_warnings.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
adaptive.md
asdl.c
asm_trampoline.S [3.12] gh-128605: Add branch protections for x86_64 in asm_trampolineS (#128606) (#135094) 2025-07-10 11:22:14 +01:00
assemble.c [3.12] gh-130775: Allow negative locations in ast (GH-130795) (#132260) 2025-04-08 10:19:23 +00:00
ast.c
ast_opt.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
ast_unparse.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
bltinmodule.c [3.12] gh-131670: Fix crash in anext() when __anext__ is sync and raises (GH-131682) (#131687) 2025-03-24 19:18:29 +00:00
bootstrap_hash.c
bytecodes.c [3.12] gh-128799: Add frame of except* to traceback when wrapping a naked exception (GH-128971) (#129328) 2025-01-30 12:02:46 +00:00
ceval.c [3.12] gh-128799: Add frame of except* to traceback when wrapping a naked exception (GH-128971) (#129328) 2025-01-30 12:02:46 +00:00
ceval_gil.c
ceval_macros.h
codecs.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
compile.c [3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757) 2025-03-04 10:38:24 +01:00
condvar.h
context.c [3.12] gh-132002: Fix crash of ContextVar on unhashable str subtype (GH-132003) (#132008) 2025-04-02 12:05:30 +00:00
dtoa.c
dup2.c
dynamic_annotations.c
dynload_hpux.c
dynload_shlib.c
dynload_stub.c
dynload_win.c
emscripten_signal.c
errors.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
fileutils.c
flowgraph.c [3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757) 2025-03-04 10:38:24 +01:00
formatter_unicode.c
frame.c [3.12] gh-119897: Revert buggy optimization which was removed in 3.13 (#120467) 2024-06-18 10:45:40 +01:00
frozen.c
frozenmain.c
future.c [3.12] gh-126139: Improve error message location for future statement with unknown feature (GH-126140) (#126160) 2024-10-30 00:54:32 +00:00
generated_cases.c.h [3.12] gh-128799: Add frame of except* to traceback when wrapping a naked exception (GH-128971) (#129328) 2025-01-30 12:02:46 +00:00
getargs.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
getcompiler.c
getcopyright.c
getopt.c
getplatform.c
getversion.c
hamt.c
hashtable.c
import.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
importdl.c
importdl.h
initconfig.c [3.12] gh-131818: Add imply -P in -I's help message (GH-131819) (#131823) 2025-03-28 08:09:03 +00:00
instrumentation.c [3.12] GH-107674: Avoid allocating boxed ints for sys.settrace line events (GH-107780) (#107841) 2025-04-06 19:48:53 +00:00
intrinsics.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
legacy_tracing.c [3.12] gh-122029: Log call events in sys.setprofile when it's a method with c function (GH-122072) (GH-122206) 2024-07-23 22:44:43 +00:00
makeopcodetargets.py
marshal.c [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
modsupport.c
mysnprintf.c
mystrtoul.c
opcode_metadata.h [3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757) 2025-03-04 10:38:24 +01:00
opcode_targets.h
pathconfig.c
perf_trampoline.c
preconfig.c
pyarena.c
pyctype.c
pyfpe.c
pyhash.c
pylifecycle.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
pymath.c
pystate.c [3.12] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-125205) 2024-12-03 10:26:25 -07:00
pystrcmp.c
pystrhex.c
pystrtod.c
Python-ast.c [3.12] gh-126105: Fix crash in ast module, when ._fields is delet… (#126132) 2024-10-29 20:20:40 +02:00
Python-tokenize.c [3.12] gh-120343: Fix column offsets of multiline tokens in tokenize (GH-120391) (#120428) 2024-06-12 19:10:35 +00:00
pythonrun.c [3.12] gh-130740: Move some stdbool.h includes after Python.h (#130738) (#130757) 2025-03-04 10:38:24 +01:00
pytime.c
README
specialize.c
stdlib_module_names.h [3.12] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123897) 2024-09-10 10:11:56 +00:00
structmember.c
suggestions.c
symtable.c [3.12] gh-128632: fix segfault on nested __classdict__ type param (GH… (#132090) 2025-04-04 15:48:57 +00:00
sysmodule.c [3.12] gh-131082: Add missing guards for WIN32_LEAN_AND_MEAN (#131044) (#131085) 2025-03-11 11:55:13 +00:00
thread.c
thread_nt.h
thread_pthread.h
thread_pthread_stubs.h
traceback.c [3.12] gh-130163: Fix crashes related to PySys_GetObject() (GH-130503) (GH-130556) (GH-130576) 2025-02-26 17:20:47 +02:00
tracemalloc.c [3.12] gh-129185: Fix PyTraceMalloc_Untrack() at Python exit (#129191) (#129217) (#129221) 2025-01-23 13:29:46 +00:00

Miscellaneous source files for the main Python shared library