This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Retrieving exported symbols from a dll
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: binutils at sourceware dot org, Erik Leunissen <e dot leunissen at hccnet dot nl>
- Date: Mon, 17 Jul 2006 19:44:43 -0400
- Subject: Re: Retrieving exported symbols from a dll
- References: <44BB925E.1070206@hccnet.nl>
On Mon, Jul 17, 2006 at 03:36:30PM +0200, Erik Leunissen wrote:
>I want a list of symbols that are exported from a dll (pei-i386 format).
>My first inclination was to look for an option to dlltool or objdump
>that is specifically aimed for that purpose, but did not find it.
>
>Therefore, I tend to revert to doing "objdump -x foo.dll" and scan the
>output using a home grown recipe. However, that is not nearly as
>straightforward as what I was looking for.
>
>Am I right to start from "objdump -x foo.dll", or is there something
>more straightforward?
How about "objdump -p" ? The Ordinal/Name Pointer Table seems to list
what you want.
cgf