this post was submitted on 08 Nov 2024
6 points (87.5% liked)

C & C++

1 readers
3 users here now

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/22262821

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.

you are viewing a single comment's thread
view the rest of the comments
[–] blame@hexbear.net 2 points 1 week ago

sanitizers are great and work well and are pretty fast but they dont replace valgrind (well some of them are even orthogonal to valgrind).