3 ms·
Almost forgot to respond to the UB part: you can use clang's UBSAN to help detect when undefined behavior occurs. https://clang.llvm.org/docs/UndefinedBehavior
by saghm 9y ago
Almost forgot to respond to the UB part: you can use clang's UBSAN to help detect when undefined behavior occurs.
https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html