Quantcast
Channel: Visual Leak Detector for Visual C++ 2008-2015
Viewing all articles
Browse latest Browse all 704

New Post: CMake project generation for VLD

$
0
0
Hello. Again.

I just encountered the same problem with my 64bit cmake build and found out the reason. With the cmake file above you have been building "vld.dll" instead of "vld_x86.dll" or "vld_x64.dll". This is fine except when patching loaded modules, vld checks for its own module name (which is hardcoded) to avoid patching itself.
So with the above configuration this fails and hence the infinite recursion. The cmake files in my branch should work fine now.

Best,
Andreas

Viewing all articles
Browse latest Browse all 704

Trending Articles