4 ms·
You can just use a sanitizer such as UBSan [1], or ASan [2]. They are usually used in debug builds though, since they have a 2-3x runtime penalty. [1] http://
by Franciscouzo 10y ago
You can just use a sanitizer such as UBSan [1], or ASan [2].
They are usually used in debug builds though, since they have a 2-3x runtime penalty.
[1] http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
[2] http://clang.llvm.org/docs/AddressSanitizer.html http://clang.llvm.org/docs/AddressSanitizer.html