by amelius · 3y ago · 0 comments
I've noticed that using Valgrind on Python systems is almost impossible because most modules have not been built with Valgrind in mind and thus you get swamped in noise.
I suppose the same is true for any large system that uses many different third party libraries.
I'm also not sure if asan has an equivalent to --leak-check=full
I have even made it recognize my custom allocators and report bugs with them too.
When combined with my second favorite tool, AFL++, I have a good shot at eliminating most memory bugs. AFL++ finds paths through the software, and I run every single one of those paths through Valgrind. It's beautiful.