PODUMP not shows result correctly on LIB files.

Started by lvckyluke, March 19, 2006, 04:02:44 AM

Previous topic - Next topic

lvckyluke

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>

Pelle

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