Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft equivalent of the nm command

Tags:

symbols

nm

I've long used cygwin's nm command for all my .lib symbol debugging needs, but recently I thought about referring to it in a SO answer and realized that most Windows developers don't have cygwin installed.

So what is the Microsoft equivalent to nm, i.e., what command will list the symbols exported by a .lib file, the undefined symbols in the .lib, and so forth?

For the curious, a sample nm man page is here.

like image 203
David Norman Avatar asked Dec 17 '08 17:12

David Norman


People also ask

What is nm command?

The nm command displays information about symbols in the specified File, which can be an object file, an executable file, or an object-file library.

What is nm tool?

DESCRIPTION. The nm-tool utility provides information about NetworkManager, device, and wireless networks.


1 Answers

Try dumpbin.exe.

MSDN dumpbin.exe reference.

like image 59
Tim Avatar answered Oct 15 '22 13:10

Tim