ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Accessing Memory addesses of Data


From: Salman Khilji
Subject: RE: Accessing Memory addesses of Data
Date: Tue, 2 Jul 2002 06:48:28 -0400

You can use objdump which is part of the binutils package.

Do this:

objdump -g hello.exe > hello_exe_dump.txt

This of course assumes that the executable is compiled with debugging options.  
The address of each global and file static variable will appear right next to 
it.

Salman



-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Monday, July 01, 2002 3:33 PM
To: address@hidden
Subject: Accessing Memory addesses of Data


Hello,
        For a project I'm working on at school, I need to get a list of
addesses the program accesses.  I know I can get the memory addresses the
instructions, but I need the addresses of the data that is used.  Is there
anyway I can do this using DDD?  If you have any suggestions, I would
greatly appericiate it.

Leah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]