Reading exports from a DLL

Brian Dessent brian@dessent.net
Tue Jan 17 16:20:00 GMT 2006


Shaun Jackman wrote:
> 
> How does one read the exported symbols from a i386-pc-pe DLL without
> debugging information? I tried nm and nm -D without any luck. I read
> the manual page for dlltool, but could not find anything relevant. Is
> there any readpe command, similar in nature to readelf?

objdump -p will show the export table, nestled among a lot of other
info.  The mingw project has a utility 'pexports' which will output just
the list of exported functions in a .def file format which is handy.

Brian



More information about the Binutils mailing list