The Microsoft COFF Binary File Dumper (DUMPBIN.EXE) displays information about Common Object File Format (COFF) binary files.
Questions tagged [dumpbin]
90 questions
17
votes
6 answers
Call function in c++ dll without header
I would like to call a method from an dll, but i don't have the source neither the header file. I tried to use the dumpbin /exports to see the name of the method, but i can found the methods signature?
Is there any way to call this method?
Thanks,

mileschet
- 371
- 1
- 6
- 13
14
votes
1 answer
Dumpbin.exe for Linux to view imports
I'm not sure my question makes sense in a linux way. I'm searching for something that would work similar to dumpbin.exe from Visual Studio toolkit.
Basically I have an existing project with a bunch of libraries and a single executable. I'd like to…

Eric
- 19,525
- 19
- 84
- 147
13
votes
1 answer
Finding arguments that go with methods in C++ dll's
Ok, so I can use dumpbin.exe /exports library.dll to find all methods in the dll.
...but how do I find out which arguments to pass into them? Without a header file of course.

Presidenten
- 6,327
- 11
- 45
- 55
11
votes
1 answer
check what run-time static library or dll uses
is there a tool in windows SDK to ckeck what CRT a library uses?
for example I have a *.lib file, how do check if it's compiled with /MDd flag or /MT?
also how to check the same for dll or exe?
can this be done with dumpbin?

codekiddy
- 5,897
- 9
- 50
- 80
10
votes
1 answer
Which native function causes EXCEPTION_ACCESS_VIOLATION in JNI code?
I'm trying to use the bullet physics library as wrapped by the libgdx Android Java development framework (gdx-bullet) and getting JVM crashes or "pure virtual method called" crashes after some short random period of work.
Some of them generate…

John M
- 1,469
- 17
- 41
7
votes
2 answers
Why does subprocess.Popen not work
I tried a lot of things but for some reason I could not get things working. I am trying to run dumpbin utility of MS VS using a Python script.
Here are what I tried (and what did not work for me)
1.
tempFile =…

Hayri Uğur Koltuk
- 2,970
- 4
- 31
- 60
7
votes
1 answer
Analyze .exe/.dll (Windows PE) files for code bloats
Let's say I have a project with a dozen of different modules which produce one resultant DLL, how can I analyze it so that I can identify the actual file size that each module/functions contribute? I know it might be impossible with a Release build…

kizzx2
- 18,775
- 14
- 76
- 83
7
votes
1 answer
How do relocations work in COFF object (not image) files
What steps exactly are taken by the linker while resolving relocations in an object file before creating the final image? More specifically, how does the linker treat the value which is already stored at the relocation site? Does it always add it to…

user2625389
- 71
- 2
6
votes
2 answers
Utility for analysing symbols in a library file
I'm having some problems with a large static library (.lib) file, and am suspecting code bloat from indiscriminate use of template classes. I want to analyse the symbols in the library to confirm which are making up the bulk of the file size.
When I…

StevieG
- 8,639
- 23
- 31
5
votes
1 answer
How is dumpbin able to read the export table when it appears at a file offset larger than the file itself?
I'm writing a little PE reader, so I run dumpbin alongside my test application to confirm that the values are being read correctly. Everything it working so far, except for the export table.
The file I'm testing with is a DLL. My application reads…

David Brown
- 35,411
- 11
- 83
- 132
4
votes
1 answer
Dumpbin output ,meaning?
If I do something like this:
dumpbin myexe.exe
I got output similar to:
Dump of file myexe.exe
File Type: EXECUTABLE IMAGE
Summary
21000 .data
1000 .gfids
3C9000 .rdata
4F000 .reloc
B4000 .rsrc
325000 .text
…

Klik Kliković
- 364
- 1
- 5
- 13
4
votes
1 answer
Why is DumpBin telling me there are no COMDATs in my binaries?
This is the output I get from dumpbin AchievementsTable.obj /HEADERS
Microsoft (R) COFF/PE Dumper Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file AchievementsTable.obj
File Type: ANONYMOUS…

hatcat
- 1,876
- 1
- 18
- 37
4
votes
1 answer
what is the @number in the dumpbin exports output
Using DUMPBIN on a C++ .DLL (or IMPLIB .LIB file) with /EXPORTS or /IMPORTS I see syntax in the output like the following:
Exports
ordinal name
_CloseConduit@4
_ConduitPort
_GetConduitVersion@4
_GetStatusConduit@8
…

rich p
- 1,005
- 9
- 16
3
votes
0 answers
Dumpbin and _MSC_VER
I am developing C++ in Visual Studio 2017, version 15.7, VCToolsVersion 14.14.26428.
I noticed that when I run dumpbin on a static library, I get a different version for _MSC_VER than expected.
To illustrate my problem, I created a static library…

Nele
- 73
- 7
3
votes
2 answers
Why are the disassembly output by NASM and dumpbin.exe different for the same executable file?
Here are the steps I followed.
1) I took the assembly language code for three different small programs from the book "Assembly Language for x86 Processors" by Kip Irvine.
2) I assembled, linked to produce a valid executable without errors in each…

ramana_k
- 1,933
- 2
- 10
- 14