Use dumpbin to show External symbol(UNDEF) for DLL?

Gob00st picture Gob00st · Dec 10, 2012 · Viewed 7.6k times · Source

We all know we could use dumpbin for .obj file to show all the symbols including external ones.

dumpbin /symbols ExternCTest.ob
00F 00000000 UNDEF  notype ()    External     | ?foo@@YAHH@Z (int __cdecl foo(int))

But I am wondering how could I do this for DLL ? I have also tried dumpbin /exports as well as dependency walker but it's NOT showing external symbols.

How should I do it ?

Thanks

Answer

Captain Obvlious picture Captain Obvlious · Dec 10, 2012

The command line argument you are looking for is /imports. This will show all external symbols referenced by the DLL.