NO

Author Topic: PODUMP not shows result correctly on LIB files.  (Read 3015 times)

lvckyluke

  • Guest
PODUMP not shows result correctly on LIB files.
« on: March 19, 2006, 04:02:44 AM »
podump /EXPORTS and /IMPORTS switches not shows result correctly on LIB files. but it do fine on DLL files.. I found this when trying to compare between podump and dumpbin results from system api libraries and dll.

eg:

PODUMP /EXPORTS user32.lib
Quote

Dump of user32.lib

File type: LIB

SUMMARY
      14 .idata$2
      14 .idata$3
       4 .idata$4
       4 .idata$5
       C .idata$6


PODUMP /IMPORTS user32.lib
Quote

Dump of user32.lib

File type: LIB
user32.dll: ActivateKeyboardLayout (_ActivateKeyboardLayout@8)
user32.dll: AdjustWindowRect (_AdjustWindowRect@12)
...and so on

SUMMARY
      14 .idata$2
      14 .idata$3
       4 .idata$4
       4 .idata$5
       C .idata$6


DUMPBIN /EXPORTS user32.lib
Quote

Dump of file \poasm\lib\user32.lib

File Type: LIBRARY

     Exports

       ordinal    name

                  _ActivateKeyboardLayout@8
                  _AdjustWindowRect@12
                 ...and so on

  Summary

          14 .idata$2
          14 .idata$3
           4 .idata$4
           4 .idata$5
           C .idata$6



DUMPBIN /IMPORTS user32.lib
Quote

Dump of file \poasm\lib\user32.lib

File Type: LIBRARY

  Summary

          14 .idata$2
          14 .idata$3
           4 .idata$4
           4 .idata$5
           C .idata$6


Looks like podump /IMPORTS switch showing result that should shows on /EXPORTS switch...  #-o

Pelle please fix this..  =D>

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2266
    • http://www.smorgasbordet.com
Re: PODUMP not shows result correctly on LIB files.
« Reply #1 on: March 19, 2006, 04:43:42 PM »
Quote from: "lvckyluke"
Looks like podump /IMPORTS switch showing result that should shows on /EXPORTS switch...  #-o

Pelle please fix this..  =D>

Well... maybe... not sure 100% DUMPBIN compatibility is needed...

(and one man's export is another man's import, so it depends on how you look at it...)

Pelle
/Pelle