Questions tagged [dumpbin]

The Microsoft COFF Binary File Dumper (DUMPBIN.EXE) displays information about Common Object File Format (COFF) binary files.

90 questions
0
votes
1 answer

a statically linked function is not visible in a dll dumpbin output

I have a dynamic library A.dll which consumes a static library B.lib containing a function "int foo()". When I use dumpbin (on win32, vs2010) to view the symbols in dll - foo is not visible - Is that expected? or is it Microsoft specific? I tested…
hanra
  • 21
  • 6
0
votes
0 answers

How to find an exported functions' instructions in DLL

I have a DLL file (64-bits) and try to find the source code instructions of an exported function named write in it. With the use of DUMPBIN.EXE I can see the exported label write with RVA 24A0H. 00000000 characteristics FFFFFFFF time date…
0
votes
0 answers

Link against failed, the lib file is exported by dumpbin of MSVC

I use dumpbin to convert a dll file to lib file: get def file using dumpbin.exe /export and edit it generate lib file using lib.exe. The header files are available, however, when I include the header files and link against the lib file, there are…
windywater
  • 23
  • 3
0
votes
2 answers

Where is strnicmp on Windows?

I'm trying to compile Python on Windows in an unusual context, and running into this problem: a.o : error LNK2019: unresolved external symbol strnicmp referenced in function connection_clear Okay, so I'm not linking in the proper library containing…
rwallace
  • 31,405
  • 40
  • 123
  • 242
0
votes
2 answers

Dumpbin warning LNK4195: unable to load msdis170.dll

I'm trying to use dumpbin with the /DISASM option to dump the disassembly of a file. It gives me the error LINK : warning LNK4195: unable to load msdis170.dll. Apparently the file msdis170.dll doesn't exist on my computer. I've tried reinstalling…
Josh
  • 6,046
  • 11
  • 52
  • 83
0
votes
0 answers

Why are `malloc` and `free` listed as `External` and `UNDEF` in DUMPBIN.exe output for my static library?

I have built a static library on Linux with gcc compilers using cmake and am now porting to windows with msvc compilers. I'm using CLion with the default generator, which is NMakefiles x64. I have managed to get my library to build without errors,…
CiaranWelsh
  • 7,014
  • 10
  • 53
  • 106
0
votes
0 answers

Problem with dumpbin.exe using vcpkg for compile caffe2 win10

When try to use vcpkg with vs2015 to install caffe2:x64-windows in windows 10 I obtain an error with dumpbin.exe: Dump of file E:\vcpkg\packages\caffe2_x64-windows\debug\lib\Caffe2_CPU.lib LINK : fatal error LNK1104: cannot open file…
Mauricio Ruiz
  • 322
  • 2
  • 10
0
votes
1 answer

What does number part of mangled name for anonymous namespace variable generated in Visual Studio means?

I am recompiling a C++ binary using the same sources. OS is Windows Server 2008 R2, compiler is Microsoft Visual Studio 2005. After that I am running dumpbin.exe /ALL /DISASM /RAWDATA:NONE and comparing outputs. There is no difference in disassembly…
Nosturion
  • 289
  • 3
  • 12
0
votes
0 answers

Can't see exported function in dumpbin

my.dll | _______________________ | | | lib1.lib lib2.lib ... libn.lib In lib1.lib I export a function called foo(). When I call dumpbin /exports my.dll I can't see the function. What…
ifs
  • 41
  • 7
0
votes
1 answer

Why do I need different dumpbin options for different image types?

I've been using dumpbin recently to see symbols in some static libraries using dumpbin foo.lib /symbols. I wanted to see how it could be used for executables and DLLs. My first observation is that dumpbin foo.{exe|dll} /symbols returns nothing. For…
Joe
  • 587
  • 1
  • 8
  • 15
0
votes
1 answer

verify generated library for the encapsulation

I have two C projects prepared under Visual Studio 2015. First project is simply a static library project whereas the second one is a console application which uses the static library file generated by the first project. I checked the static library…
sanchop22
  • 2,729
  • 12
  • 43
  • 66
0
votes
0 answers

C++ mangle names in dll and in using this dll project don't matched

I'm trying to use some lib and dll in my Visual C++ (2015, OS - Windows8x64) MFC Win32 project. This lib is old, from 2005. And in my project I recieve unresolved external symbol errors on some dll's functions calling. So I made a little dumpbin on…
Nika_Rika
  • 613
  • 2
  • 6
  • 29
0
votes
0 answers

Can I use dumpbin /exports to verify that 2 dlls provide/implement the same interface

I have 2 dlls impl1\A.dll and impl2\A.dll that (have the intent to) implement interface I for 2 different target environments. Lib files are stored in impl1\A.lib and impl2\A.lib respectively. I also have E.exe that uses interface I and that is…
0
votes
1 answer

CLR Runtime version from CLR header

when i use dumpbin \clrheader to one assembly, i found following content- Since i complied under .net4.5,How the CLR verion would be 2.05? Dump of file SampleApp.exe File Type: EXECUTABLE IMAGE clr Header: 48 cb 2.05 runtime…
0
votes
1 answer

"dumpbin" is not recognized. "dumpbin.exe" is missing

Screen witn issue (developer command prompt) Problem description in English: 'Dumpbin' is not recognized as an internal or external command, operable program or batch file. "Everything" can't find "dumpbin.exe" I use VS 2015 Community. I have…
Xandmore
  • 69
  • 1
  • 1
  • 7