Microsoft equivalent of the nm command

前端 未结 2 1695
小鲜肉
小鲜肉 2020-12-01 04:46

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 devel

相关标签:
2条回答
  • 2020-12-01 05:00

    Try dumpbin.exe.

    MSDN dumpbin.exe reference.

    0 讨论(0)
  • 2020-12-01 05:07
    1. Run vcvarsall.bat which might present in your installed path of Microsoft Visual Studio. This sets environmental variable required for dumpbin.exe.

      D:>"D:\Program Files (x86)\Microsoft Visual Studio 10.0\vcvarsall.bat" x86

    2. Then use dumpbin.exe. For example dumpbin.exe /ALL <bin_file> gives all symbols.

    0 讨论(0)
提交回复
热议问题