How to profile and capture double deletion and memory corruption in C ++

I have an application that I compiled using VS 2008 on Windows 7 using C ++ And I got an exception, I try to catch this, I created a pdb file (because I compiled in the release). and see part of the stack, but that doesn't give me a clue as to where the error is. Im looking for free ways to get this error. Can you recommend free ways to do this?

+3
source share
1 answer

Visual C ++ has very good C memory debugging built-in.

. #define _CRTDBG_MAP_ALLOC : CRT .

:

, , , .

, BoundsChecker, HeapAgent Purify, , Fortify, , , , VisualStudio.

+4

Source: https://habr.com/ru/post/1745170/


All Articles