SIGN IN SIGN UP

gh-133157: remove usage of `_Py_NO_SANITIZE_UNDEFINED` in `faulthandler` (#134047)

In `faulthandler_sigfpe()`, instead of using 1/0 arithmetic, we explicitly raise SIGFPE.
We also remove `faulthandler._read_null()` since reading from NULL is an undefined
behavior and `faulthandler` should not check for low-level C undefined behaviors.
B
Bénédikt Tran committed
0a160bf14c4848f50539e52e2de486c641d122a2
Parent: 22e4a40
Committed by GitHub <noreply@github.com> on 5/18/2025, 8:16:10 AM