Memory error checking in C and C++: Comparing Sanitizers and Valgrind
Memory error checking in C and C++: Comparing Sanitizers and Valgrind
developers.redhat.com Memory error checking in C and C++: Comparing Sanitizers and Valgrind | Red Hat Developer
Debugging memory errors can be challenging, and having the right tool helps. See how Valgrind and Sanitizers compare for common C and C++ memory errors.
This article compares two tools, Sanitizers and Valgrind, that find memory bugs in programs written in memory-unsafe languages. These two tools work in very different ways. Therefore, while Sanitizers (developed by Google engineers) presents several advantages over Valgrind, each has strengths and weaknesses. Note that the Sanitizers project has a plural name because the suite consists of several tools, which we will explore in this article.
0
comments