3 ms·
Valgrind is wonderful, but I'm more excited about the Address Sanitizer work going into clang. http://clang.llvm.org/docs/AddressSanitizer.html http://clang.ll
by kenferry 13y ago
Valgrind is wonderful, but I'm more excited about the Address Sanitizer work going into clang.
http://clang.llvm.org/docs/AddressSanitizer.html http://clang.llvm.org/docs/AddressSanitizer.html
It catches more stuff than valgrind, and only slows a program down to ~half normal speed.
It requires compile time instrumentation, but I'm usually ok with that.
- deleted 13y ago[deleted]
- throwaway0094 13y agoAddressSanitizer went into GCC 4.8 recently: http://gcc.gnu.org/gcc-4.8/changes.html http://gcc.gnu.org/gcc-4.8/changes.html
- mrich 13y agoUnfortunately, for large projects I have seen some bugs that currently prevent replacing valgrind with Address Sanitizer.
- pcwalton 13y agoNo. ASan does not detect leaks among other things: http://code.google.com/p/address-sanitizer/wiki/ComparisonOfMemoryTools http://code.google.com/p/address-sanitizer/wiki/ComparisonOf...