4 ms·
I mostly use address sanitizer these days rather than valgrind. It's fast enough that you can just put it in your default compile flags for debugging.
by readams 6y ago
I mostly use address sanitizer these days rather than valgrind. It's fast enough that you can just put it in your default compile flags for debugging.
- scatters 6y agoAnd it's available for Visual Studio, so you don't even need to be running Linux.
- junon 6y agoAddress sanitizers have bitten me before. Valgrind has not, aside from the times it wasn't supported on new macos. Just be careful.
- usefulcat 6y agoIt is faster, but IME valgrind is more thorough. I have an option to run unit tests with valgrind.