◐ Shell
clean mode source ↗

gh-111178: add UBSan suppression file by picnixz · Pull Request #124763 · python/cpython

Is there a special reason you went for Tools here

I found tsan with suppressions.txt so I thought it was fine to also have the suppressions file in a ubsan folder (which I now see I named usan...)

That would be best, but this PR could make the UBSan buildbot green so that it can detect other (and more important) kinds of undefined behaviour.

For that, we don't really need to because I think the regular UBSan PR bot has -fno-sanitize=function enabled (or maybe not?) It was mostly to make the UBSan Function bot green (and detect it one by one correctly).


By the way, once we're done with those fixes, the file would be anyway empty. I'll actually leave it here so that people can easily pick up what's wrong. There are explanations on which functions to files to patch (and how to generate the up-to-date list of fixable files) so you can just take a look and choose any of the bad files (maybe that's what Victor did? I saw a lot of small PRs today).