Personal tools

Difference between revisions of "Dumpbin"

From MohidWiki

Jump to: navigation, search
m (1 revision)
Line 7: Line 7:
 
  > dumpbin /EXPORTS library > lib_dump.log
 
  > dumpbin /EXPORTS library > lib_dump.log
 
where <code>library</code> is a library filename. This will list the library's exported symbols.
 
where <code>library</code> is a library filename. This will list the library's exported symbols.
 +
 +
> dumpbin /HEADERS  exefile | grep stack
 +
This will list the stack reserve size commited at link time.
  
 
[[Category:Technology]]
 
[[Category:Technology]]
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 18:20, 17 March 2011

Dumpbin is a great little utility provided in Windows XP that allows to dump binary files and view their content. It is particularly usefule to see the symbolic table.

HowTo

From a dos box

>dumpbin /SYMBOLS file > file_dump.log

Where file is the filename. This will list the local functions as well as the externals.

> dumpbin /EXPORTS library > lib_dump.log

where library is a library filename. This will list the library's exported symbols.

> dumpbin /HEADERS  exefile | grep stack

This will list the stack reserve size commited at link time.