Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"readelf" Equivalent?

1,162 views
Skip to first unread message

gamename

unread,
May 9, 2008, 11:32:47 AM5/9/08
to
Hi,

In the *nix world, there is the command 'readelf' to figure out if an
executable contains debug symbols. Is there an equivalent command in
win32??

Tks.
-T

Nathan Mates

unread,
May 9, 2008, 1:02:12 PM5/9/08
to
In article <b69bce26-647c-475f...@q24g2000prf.googlegroups.com>,

In the win32 world, debug symbols are typically contained in a
separate file from the .exe. MS's compiler puts them in a .pdb
(Program DataBase) file, with the same name as the exe -- e.g.
myapp.exe can have a myapp.pdb file. It's then trivial to distribute
only the .exe to end users and now give away the farm.

Nathan Mates

--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein

Jerry Coffin

unread,
May 11, 2008, 11:49:49 AM5/11/08
to
In article <b69bce26-647c-475f-97aa-
08b6ef...@q24g2000prf.googlegroups.com>, namesaga...@yahoo.com
says...

Looking up SymInitialize should get you started in the right direction.
IIRC, in Win32, some symbol lookup can/will work even without debug
symbols as such -- some symbols like names of exported functions are
normally present anyway (though the names are sometimes pretty
useless).

--
Later,
Jerry.

The universe is a figment of its own imagination.

0 new messages