Personal tools

Difference between revisions of "Dumpbin"

From MohidWiki

Jump to: navigation, search
(HowTo)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
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.
 
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.
 +
 +
==Usage==
 +
 +
> dumpbin /HEADERS MohidWater
 +
Look for the line with ''stacksize''
 +
 
==HowTo==
 
==HowTo==
 
From a dos box
 
From a dos box
Line 7: Line 13:
 
  > 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.
 +
 +
==Install==
 +
Download and install the [http://www.microsoft.com/express/Downloads/ Visual Studio C++ Express]
 +
 +
==See also==
 +
*[[stacksize]]
 +
*[[editbin]]
 +
*[[IncrementSizeOfStack]]
 +
*[[Stack overflow]]
  
 
[[Category:Technology]]
 
[[Category:Technology]]
 
[[Category:Windows]]
 
[[Category:Windows]]

Latest revision as of 11:48, 1 April 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.

Usage

> dumpbin /HEADERS MohidWater

Look for the line with stacksize

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.

Install

Download and install the Visual Studio C++ Express

See also