3 ms·
Yesterday a coworker had an issue where ASAN wasn't finding a std::vector out of bounds error. It turns out the code doing the deference was in libc++, which wa
by muricula 7y ago
Yesterday a coworker had an issue where ASAN wasn't finding a std::vector out of bounds error. It turns out the code doing the deference was in libc++, which was not ASAN instrumented even though his program was. Valgrind found the error right away. They're all great tools with their own pros and cons. If you have the testing infrastructure, use all of them.