Re:The computers are fast, but you don't know it
by Too on Saturday June 18, 2022 @01:19AM
(#31787420)
Memory write errors (some times induced by UB) in one place of the program can easily propagate and later fail in a very different location of the program, with absolutely zero diagnostics of why your variable suddenly had a value out of possible range.
This is why valgrind, asan and friends exist. They move the error diagnostic to the place where error actually happened.
This is why valgrind, asan and friends exist. They move the error diagnostic to the place where error actually happened.