dumpbin

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 the file in as a byte array, which gets passed to my PE reader class. The values align wit...

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 | .file x:\mydir\mysource.c allowing me to get the relationship between sources a...

How to filter specific symbols(Only defined in dll/Exe/lib) using dia2dump

Hello, I need my all defined symbols (functions) in certain DLL/EXE/lib. I dont need Kernel or other OS layers symbols. I dont need all other stuf, only which's defined by my own DLL or EXE which I am giving it as PDB. But it shows EVERYTHING kernel related,OS related and balah blah endless list(sky is the limit).. I only required define...

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. ...

Why is DumpBin telling me there are no COMDATs in my binaries when I know there are truckloads of the things?

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 OBJECT ANON OBJECT HEADER VALUES 1 version 14C machine (x86) ...

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 where much information has been stripped, but how about if I have the full source and can ...