This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Question about what BFD can access
- From: Daniel Jacobowitz <drow at false dot org>
- To: Chris Ross <cross+gnu at distal dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 27 Jul 2006 19:23:40 -0400
- Subject: Re: Question about what BFD can access
- References: <51C0BE99-ABF3-401C-9F8B-5D5846FB00A7@distal.com>
On Thu, Jul 27, 2006 at 05:43:36PM -0400, Chris Ross wrote:
> But, as I'm doing it on the same system, I'm not 100% sure it's not just
> magically finding the executable file somehow.
It is. You can pull the dynamic symbol table out of memory mapped BFDs
(and BFD supports such now), but the static symbol table you need to
look around on disk usually.
Search for _memory in the bfd header files, I think.
--
Daniel Jacobowitz
CodeSourcery