Re:Twenty Years of Valgrind (2022)
by patrick451 on Thursday August 29, 2024 @01:57AM
(#41387779)
IME, sanitizer don't find enough issues compared valgrind, and valgrind doesn't require me to recompile the world.
If I have anything that feels like UB, especially that I can trigger in a unit test, I run it through valgrind first. If the issue can only be triggered by running the whole system and valgrind slows it down too much, there's a good chance that sanitizers will also slow it down too much.
If I have anything that feels like UB, especially that I can trigger in a unit test, I run it through valgrind first. If the issue can only be triggered by running the whole system and valgrind slows it down too much, there's a good chance that sanitizers will also slow it down too much.