5 ms·
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#avai
by pcwalton 5y 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#available-checks https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#...
- flohofwoe 5y ago"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.
- pcwalton 5y agoThe 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.