Bug report
Split out from the #111178 monster-issue:
We use the macro _Py_NO_SANITIZE_UNDEFINED to disable the UB sanitizer in some hard-to-fix cases, so that we can get a stable, regression-monitoring checker sooner.
To fully fix UBsan failures, we should get rid of the macro.
At least outside test functions.
Linked PRs
Bug report
Split out from the #111178 monster-issue:
We use the macro
_Py_NO_SANITIZE_UNDEFINEDto disable the UB sanitizer in some hard-to-fix cases, so that we can get a stable, regression-monitoring checker sooner.To fully fix UBsan failures, we should get rid of the macro.
At least outside test functions.
Linked PRs
_Py_NO_SANITIZE_UNDEFINEDin faulthandler #134047_Py_NO_SANITIZE_UNDEFINEDinParser/pegen.c#134048_Py_NO_SANITIZE_UNDEFINEDinParser/pegen.c(GH-134048) #135320Parser/pegen.c(GH-134048) #135334_Py_NO_SANITIZE_UNDEFINEDinpyexpat#134050_Py_NO_SANITIZE_UNDEFINEDinpyexpat#135346