delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/11/05:08:40

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Stefano Cailotto" <kai1074 AT inwind DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Extracting info froma a symbol table
Date: Mon, 11 Feb 2002 09:06:16 +0000 (UTC)
Organization: Mailgate.ORG Server - http://www.Mailgate.ORG
Lines: 29
Message-ID: <067f3006bf2df770e64f927d47238d37.68208@mygate.mailgate.org>
References: <c5e4d941135cf9d7fb99e29979da1cf3 DOT 68208 AT mygate DOT mailgate DOT org> <a480r5$9pi$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: 157.27.242.188
X-Trace: news.mailgate.org 1013407918 2718 157.27.242.188 (Mon Feb 11 10:06:16 2002)
X-Complaints-To: abuse AT mailgate DOT org
NNTP-Posting-Date: Mon, 11 Feb 2002 09:06:16 +0000 (UTC)
Injector-Info: news.mailgate.org; posting-host=157.27.242.188; posting-account=68208; posting-date=1013407918
User-Agent: Mailgate Web Server
X-URL: http://mygate.mailgate.org/mynews/comp/comp.os.msdos.djgpp/067f3006bf2df770e64f927d47238d37.68208%40mygate.mailgate.org
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Martin Stromberg" <eplmst AT lu DOT erisoft DOT se> wrote in message
news:a480r5$9pi$1 AT antares DOT lu DOT erisoft DOT se...

> Stefano Cailotto (kai1074 AT inwind DOT it) wrote:
> : Hi!
> : I need to extract informations about variables (name, type, value) from
> : a compiled c/c++ program's symbol table  using GNU binutils..can you
> : suggest something,
> : please?
> 
> "nm", "objdump"?
> 
> 
> Right,
> 
> 						MartinS
I tried them, even with various switches, but I'd need to have a "clear"
representation of variables,i.e.
not only a series of memory address...Am I asking too much?What I mean
is that, given a declaration like
int c=3;
I'd like to be able to reconstruct the same information starting from
the compiled code.
Thanx!



-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019