Dumpbin
lastmod 2019-12-11created 2018-11-217 edits
The Microsoft COFF Binary File Dumper (DUMPBIN.EXE) displays information about COFF (Common Object File Format) binary files. You can use DUMPBIN to examine COFF object files, standard libraries of COFF objects, executable files, and DLLs (dynamic-link libraries).
Example
Show symbols
This option displays the COFF symbol table. Symbol tables exist in all object files. A COFF symbol table appears in an image file only if it is linked with /DEBUG.
Export symbols
This option displays all definitions exported from an executable file or DLL.
32bit or 64bit
The SDK tool dumpbin.exe with the /headers option includes this information, compare these two (I've added bold for the key information)
PS [64] E:\ #4> dumpbin /headers C:\Windows\system32\cmd.exe
Microsoft (R) COFF/PE Dumper Version 10.00.40219.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\Windows\system32\cmd.exe
PE signature found
File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
8664 machine (x64)
6 number of sections
4CE798E5 time date stamp Sat Nov 20 09:46:13 2010
0 file pointer to symbol table
0 number of symbols
F0 size of optional header
22 characteristics
Executable
Application can handle large (>2GB) addresses
[...]
See also
Favorite site
- DUMPBIN Reference
- Introduction to dumpbin and how to use it
- (Windows) Checking the methods provided by a DLL file using dumpbin.exe
Pages that link here