3 ms·
If you have to work with C++, I recommend using -fsanitize=undefined so you get runtime-errors when your program runs into undefined behavior. Very handy!
by lionkor 6y ago
If you have to work with C++, I recommend using -fsanitize=undefined so you get runtime-errors when your program runs into undefined behavior. Very handy!
- Leherenn 6y agoIt's really useful, but it's dynamic. You need tests that actually trigger the UB to make it useful.
- uglycoyote 6y agoUB means unsigned byte in this context?
- SAI_Peregrinus 6y agoUndefined Behavior. It adds a runtime sanitizer to detect some (but not all) UB.
- taneq 6y agoOooh I'm gonna add that to everything. Thankyou!