UBsan: Remove _Py_NO_SANITIZE_UNDEFINED #133157
Labels
extension-modules
C modules in the Modules dir
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-C-API
type-bug
An unexpected behavior, bug, or error
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
_Py_NO_SANITIZE_UNDEFINED
in faulthandler #134047_Py_NO_SANITIZE_UNDEFINED
inParser/pegen.c
#134048_Py_NO_SANITIZE_UNDEFINED
inpyexpat
#134050The text was updated successfully, but these errors were encountered: