I have a C ++ application that has some minimal leaks, and I would like to fix them. I use AppVerifier to dump leaked objects, and I can get the addresses and first few bytes of allocated memory.
Unfortunately, these first bytes and raw address are not enough to determine the distribution stack trace, is there a way to get a complete dump of the distribution data and find the stack that allocates memory?
I could put _ CrtSetBreakAllocthrough the leak number, but unfortunately this application is with a stream, and these numbers float up and down.
CrtSetBreakAlloc
Does anyone have a suggestion that I could try?
gflags (gflags + ust). , .
. , Microsoft ( C-RunTime, Gflags, UMDH, AppVerifier, LeakDiag), , . , , , ( , , , ,...).
UMDH . GFlags, , . UMDH , .
, , , , . http://vld.codeplex.com
Source: https://habr.com/ru/post/1793857/More articles:Is Parsing C header file possible using ANTLR? - cWhich method is called when multiple overloads are legal? - javaParsing C Header Files in C # - c #Prolog as DSL for generating Perl code? - perlIs it possible to have an array of unknown types? - genericsAligning runtime views in RelativeLayout - androidCan I choose my own image for C # Windows Drag Drop features? - c #php mysql asc / desc order - dateHow to create an open const Size in C #? - c #DB2SQLConfiguration Free Sleep - c #All Articles