The Microsoft COFF Binary File Dumper (DUMPBIN.EXE) displays information about Common Object File Format (COFF) binary files.
Questions tagged [dumpbin]
90 questions
1
vote
1 answer
What is meant by an exe being dynamically compiled?
Came across the following paragraph from a page on the MySQL website here:
You can write plugins in C or C++ (or another language that can use C
calling conventions). Plugins are loaded and unloaded dynamically, so
your operating system must…

Sabuncu
- 5,095
- 5
- 55
- 89
1
vote
1 answer
DUMPBIN /SECTION syntax
I have an OBJ with 2c1 sections. How can I dump the header of only section 101?
dumpbin /HEADERS /SECTION:101 file.obj gives me the whole list. The same thing as dumpbin /HEADERS file.obj with the added line:
LINK : warning LNK4039: section '101'…

Doug
- 2,783
- 6
- 33
- 37
1
vote
4 answers
Which parts/sections of PE files (.exe .dll) contain most their behaviours?
I’m doing Windows malware research by machine learning method. I read the PE format, using dumpbin to extract PE files and found that there are many parts in there. Eg:.idata .edata .pdata .data .rdata .sxdata .text .rscr .tls... But not all of them…

chickensoup
- 334
- 1
- 17
1
vote
1 answer
Dumpbin output meaning below .dll import part
Here is a part of what I got when run dumpbin .exe file.
Section contains the following imports:
KERNEL32.dll
5A71E8 Import Address Table
620468 Import Name Table
0 time date stamp
…

chickensoup
- 334
- 1
- 17
1
vote
0 answers
Robert Giesecke UnmanagedExports, dumpbin check fails
I used the popular Robert Giesecke template for unmanaged exports in order to create a DLL for usage from native code.
Actually it should be really simple because one only has to adapt the given example function. Building works, but this command…

LM358
- 141
- 9
1
vote
1 answer
How to locate and display symbols when using /GL?
We are catching a linker error:
2>cryptlib.lib(x64dll.obj) : error LNK2001: unresolved external symbol "unsigned __int64 * CryptoPP::rdtable::Te" (?Te@rdtable@CryptoPP@@3PA_KA)
2>x64\Output\Debug\cryptest.exe : fatal error LNK1120: 1 unresolved…

jww
- 97,681
- 90
- 411
- 885
1
vote
1 answer
dumpbin reporting wrong target architecture for a static library
I don't understand why dumpbin is returning x64 when executing the following on the Visual Studio command line:
dumpbin libgmp.lib /HEADERS |more
This is the GMP library compiled under Cygwin 32bit version, with the following build…

MyNameIsUser
- 119
- 9
1
vote
1 answer
OllyDBG and Dumpbin do not give same disassembly
I'm trying to disassemble ntdll.dll to look at some Native API libraries. I tried in both on OllyDBG (by using loaddll.exe) and using dumpbin with the /disasm option.
It seems like the output of both programs are very different. Firstly, the memory…

Abundance
- 1,963
- 3
- 24
- 46
1
vote
0 answers
module definition file data exports
I am using a module definition file (.def) in visual studio 2008 to selectively export symbols to generate an import library. According to the documentation on MSDN, adding the keyword DATA (or CONSTANT) after the symbol-name allows one to create…

Lawrence Kok
- 1,568
- 11
- 29
1
vote
1 answer
How do I get source file information with dumpbin /symbols when compiling with VS 2005?
I have a tool which uses the output of dumpbin /symbols to do some dependency analysis with our C/C++ libraries. When we compiled the libs with VS 6.0, the dumpbin COFF SYMBOL TABLE contained entries like
000 00000008 DEBUG notype Filename …

Thomas Dartsch
- 31
- 3
1
vote
2 answers
Dumpbin headers for many files
I want to check whether all my dlls and libs within a project were built for x64 using
dumpbin /headers *.obj | findstr machine
which outputs a list of e.g. 8664 machine (x64). How can I print the filename for each listed file? Or do I have to…

alex555
- 1,676
- 4
- 27
- 45
1
vote
2 answers
Dumpbin shows strange method name (generating exporting function in MS Visual C++)
I have created new Win32 project in my VS and have selected Dynamic Library ( *.dll ) for this aim.
I have defined some exporting function in the main file:
__declspec(dllexport)
int TestCall(void)
{
int value = 4 / 2;
std::cout <<…

Secret
- 2,627
- 7
- 32
- 46
1
vote
3 answers
Get functions from lib
First my knowledge of C++ is limited, as well I'm new to pinvoke.
I've got a library with some very old code in it, that we want to use with C# but of course being old it's in unmanged C++. I am looking to make a C# dll wrapper for the lib. so in…

Sam Stephenson
- 5,200
- 5
- 27
- 44
1
vote
1 answer
how to use DumpBin.exe for getting mangled names
Hi I've created a C++ DLL which I import to C# application to re-use a function.
the function code in C++ is static bool IsSomethingAttached(char *Arg1[])
When I use DllImport as below in C# program,
[DllImport("DllName")]
I get the error as…

stack_pointer is EXTINCT
- 2,263
- 12
- 49
- 59
0
votes
1 answer
Dumpbin file offsets for system binaries
So for system32 binaries, dumpbin will report:
...
6178 entry point (0000000140006178)
...
SECTION HEADER #1
.text name
63E6 virtual size
1000 virtual address (0000000140001000 to 00000001400073E5)
6400 size of raw data
…

grv grv
- 1