473,394 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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);


Nov 17 '05 #1
1 1447
Microsoft provides the Debug Help library. This library provides the
SymGetLineFromAddr64 function
<http://msdn.microsoft.com/library/en-us/debug/base/symgetlinefromaddr64.asp>.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Mirko | last post by:
Hi ! I am looking for a command line tool which converts csv to xls. A c, c++ example source for a commandline application, which reads a file, parses it, and writes it to another file would be...
6
by: rahul8143 | last post by:
hello, Is there any source code analysis tool avail for C programmers under Linux? That tool should go through all source code files and print functional dependencies. tool can run in any...
3
by: Peter Steele | last post by:
We're doing some development in VS .NET C++ and want to purchase a tool for memory leak detection and related activities. Any recommendations?
17
by: clintonG | last post by:
I'm using an .aspx tool I found at but as nice as the interface is I think I need to consider using others. Some can generate C# I understand. Your preferences please... <%= Clinton Gallagher ...
3
by: Chris Botha | last post by:
I have a Windows app (it will be promoted to a Service once this problem is sorted out) that cyclically, every minute, connects to five SQL Servers over the WAN, extract data and insert the data in...
6
by: Robbie Hatley | last post by:
I'm maintaining a software project with 134 C++ files, some of them huge (as much as 10,000 lines each), and very few prototypes. The author's attitude towards prototypes was like this: ...
4
by: Bryan Parkoff | last post by:
We discussed about the union keyword on the previous threads 2-3 days earlier. I want to add. Two byte data inside struct and one word data are inside union. You modify word data. Then two byte...
1
by: mark Antony | last post by:
Hi... we are providing software support for one of the famous retailers in U.S. The code has been written in C++. Our field test customers feel that the application software is very slow. Before we...
16
by: graham.keellings | last post by:
hi, I'm looking for an open source memory pool. It's for use on an embedded system, if that makes any difference. Something with garbage collection/defragmentation would be nice. It should have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.