This project has moved. For the latest updates, please go here.

Naive question

Mar 9, 2016 at 5:57 PM
I didn't see this in the FAQ but does Visual Leak Detector detect anything other than leaks? I'm trying to track down heap corruption issue rather than a leak and thought I'd ask before installing it.
Aug 10, 2016 at 1:59 AM
Edited Aug 10, 2016 at 2:04 AM
Not sure if you've found your answer but I don't think VLD will do this. I believe that you'd either need to use hardware breakpoints (you don't get many) or use one of the bound checking tools such as DevPartner. I use the features of the debug heap to check if the guard bytes have been overwritten, but this is only really of help in a debug build.

<edit>
This page gives an indication of what I mean above plus an option for gflags to place each heap allocation with a guard page after. https://blogs.msdn.microsoft.com/webdav_101/2010/06/22/detecting-heap-corruption-using-gflags-and-dumps/
</edit>