3

I'm looking for alternatives to the readelf and objdump duo when using Visual Studio for compiling C++ source code and investigating lib, obj and dll.

I'm aware that MinGW offers a porting of this tools but I'm looking for something with an official support for the Microsoft C++ ABI.

I'm using Visual Studio 2012 if this matter.

Thanks.

user1824407
  • 4,401
  • 4
  • 15
  • 20

1 Answers1

7

The dumpbin utility is included with Visual Studio. It has many options.

James McNellis
  • 348,265
  • 75
  • 913
  • 977
  • missing vcamp110.dll, found 3 copies of this dll under `C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\redist\x64`, what i need to do now ? I have already runned vcvarsall.bat with both user privileges and administrative privileges but it doesn't work. – user1824407 Nov 17 '12 at 07:55
  • nevermind, i run vcvarsall.bat again and it works now, but only for this session. – user1824407 Nov 17 '12 at 07:57
  • if I'm only interested in determining the architecture and the "bitness" this is the best way to do it ? `dumpbin /headers my.lib | findstr /i "machine magic"` – user1824407 Nov 17 '12 at 08:05