Peeter Joot's (OLD) Blog.

Math, physics, perl, and programming obscurity.

How to find exported symbols in Windows dlls

Posted by peeterjoot on September 5, 2012

One liner:

WSDB::E:\snap\> dumpbin /exports db2app64.dll | grep DiagWhat
        510  212 00BD1152 pdDiagWhatIsRc = pdDiagWhatIsRc

This isn’t an nm equivalent, instead is more like the AIX command to dump just the exported symbols from a shared object (dump -TvHX32_64), but enough to tell me that I shouldn’t have a link error this iteration of my build.

I found it curious that ‘dumpbin /symbols’ didn’t produce any output for this dll, as is does for a .obj file, and don’t really know what the reason for that is.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: