News for hackers. Stuff that matters.
Re:GCC always assumes aligned pointer accesses by plorkyeran on Sunday August 20, 2023 @04:31PM (#37202673)
UBSan covers each of those except provenance checking, and ASan mostly catches provenance problems even though that's not directly the goal. There are some dumb forms of UB not caught by any of the sanitizers, but most of them are.

Making your program UBSan-clean is the bare minimum you should do if you're writing C or C++ in 2023, not an absurd goal. I know it'll never happen, but I'm increasingly of the opinion that UBSan should be enabled by default.

There are no comments on this comment yet.