Hacker News new | ask | show | jobs
by pcwalton 1702 days ago
All of these are available and widely used in C++ (for example [1]). They are not enough.

[1]: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#...

1 comments

"Widely used" might be a bit of an exaggeration, MSVC only added address sanitizer support very recently but doesn't support any of the other sanitizers, and none of the sanitizers are enabled by default in Clang.
The biggest companies on the planet with massive C++ codebases are all very aware of the clang sanitizers and use them regularly. UBSan has far more deployment than Zig.