Questions tagged [dumpbin]

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

90 questions
2
votes
1 answer

dumpbin command not listing function names in dll

I have a DLL which is develeoped in VB.Net. I am trying to call its functions from my vc++ code. The dll has successfully loaded using LoadLibrary function. But when I try calling any function within the dll, it gives a null pointer exception. I…
RmP
  • 21
  • 7
2
votes
1 answer

PInvoke signature does not match the unmanaged target signature

I'm trying to create a wrapper C# file for modbusm.dll (win-tech.com/html/mbusocx.htm) ,I'm using dumpbin output for this. Dump of file modbusm.dll File Type: DLL Section contains the following exports for modbusm.dll 00000000…
jobinelv
  • 23
  • 1
  • 1
  • 8
2
votes
0 answers

How to export a clean "un-mangled" function name?

I'm trying to export a completely clean function name, this is because I need to use it within GetProcAddress (2nd parameter). I know this is possible as if you test dumpbin against Kernel32 it will display clean function names. I have looked around…
Tom
  • 33
  • 3
2
votes
2 answers

What's the meaning of HIGHLOW in a disassembled binary file?

I just used DUMPBIN for the first time and I see the term HIGHLOW repeatedly in the output file: BASE RELOCATIONS #7 11000 RVA, E0 SizeOfBlock ... 3B5 HIGHLOW 2001753D ___onexitbegin 3C1 HIGHLOW …
2
votes
2 answers

Generating correct .DEF files to export non-static functions AND GLOBALS

Following on from a question about detecting bad linkage to globals across dll boudaries, it turns out that I need to modify a .DEF file generator tool used by the PostgreSQL project so that it correctly emits DATA tags for .DEF entries for global…
Craig Ringer
  • 307,061
  • 76
  • 688
  • 778
1
vote
0 answers

How do I parse a DumpBin.exe Output file with Regular Expression or LinqToText

I'm writing a utility wrapper around dumpbin.exe and outputting exports and dependencies for exe files, ocx files and dllfiles. Besides dependency information, I also need to capture Export information such as if the file is self-registering. Would…
1
vote
0 answers

fatal error LNK1118

When I build my dll the "fatal error LNK1118: syntax error in 'ENTRY' statement" occur in definition.def file.So please tell me how to write in the definition.def file.In somwhere I read about dumpbin.exe.Can I use it in this case. #define ENTRY …
jiten
  • 5,128
  • 4
  • 44
  • 73
1
vote
0 answers

What kind of library contents dumpbin as neither symbols or exports?

Generally speaking, dumpbin /symbols shows the symbols exported from a static library, and dumpbin /exports shows the symbols exported from a dynamic library. I have encountered a library that doesn't show up as either: (c1)…
rwallace
  • 31,405
  • 40
  • 123
  • 242
1
vote
1 answer

Dumpbin does not show symbols of Visual Studio C++ static library function

I would like to ask a question, why are not exported static library functions visible to dumpbin? I have following code of x86 C++ static library (Release) using precompiled headers (Visual Studio 2017): StaticLibTest.h (tried both mangled names and…
Ales100
  • 153
  • 1
  • 8
1
vote
1 answer

What does UNDEF and notype() mean when seeing the C++ library information using dumpbin?

I used dumpbin /symbols to see the library I created. Some functions have UNDEF notype in the output. What does that mean? Is there any link to study the structure of dumpbin output?
Venkatesh Kumar
  • 642
  • 1
  • 7
  • 19
1
vote
0 answers

How to approximately know the function trace from crash dump from optimized windows binary?

I have a crash dump file generated from windows X86-64 binary (XXX). 00000000`005764aa : 00000000`00000abc 00000000`005d0c68 00000000`00000000 00000000`00000000 : kernel32!WaitForSingleObjectEx+0xdf 00000000`00572653 : 00000000`00da0480…
Naga
  • 487
  • 2
  • 7
  • 23
1
vote
1 answer

C program new segment declaration

i've this simple code test code: #include #include /* Declare new sections to store encrypted code and shellcode data */ #pragma section(".code", execute, read, write) #pragma comment(linker,"/SECTION:.code,ERW") // From here…
Luca Reccia
  • 578
  • 3
  • 16
1
vote
1 answer

Why isn't memcpy in the import table?

I was playing with a pdb generated by Visual Studio when I saw memcpy in the list of symbols so I used dumpbin to inspect the import table in the executable but there was no reference to memcpy there. Isn't memcpy a function exported from crt…
dev65
  • 1,440
  • 10
  • 25
1
vote
2 answers

DUMPBIN doesnt show all functions

I used DUMPBIN utility of Microsoft Visual C++ on the following program. I know for sure that the call to remove eventually calls the Microsoft system call of DeleteFileW from the kernel32.dll (I confirm this call with another tool). So why when I…
1
vote
0 answers

Why there is no .bss segment in COFF object file?

A simple hello world program: #include int main(void) { printf("Hello, world!\n"); return 0; } After dumpbin it with /HEADERS flag, i get those segments: 8 .bss A0 .debug$S 62 .drectve F .rdata 8B .text$mn If compile…
Tracy
  • 59
  • 1
  • 8