tool/utility that converts the address into source code line - for memory leak

B

Barkha Shah

Hi All,
I am looking for a tool/utility that converts the address into source code
line.

Purpose is that I have written a basic mfc application that purposely has a
memory leak.Now at the exit of the application I get a memory dump in the
output window as mentioned below. Its a simple program that I know where the
memory leak is but in the bigger application I am not able to figure out
source code line. Any help on this respect would be immensely appreciated.
Thanks and Regards
barkha shah
Detected memory leaks!

Dumping objects ->

{77} normal block at 0x003225A8, 25 bytes long.

Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD

Object dump complete.





Code Snippet:
char *a = (char*)malloc(25);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top