dumpbin查看lib、dll库中函数

利用VS工具中的dumpbin.exe可以查看lib、dll中的函数,查了的命令如下:
本电脑安装的VS2017,dumpbin.exe的路径在D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64下,需要用git打开,powershell不好使

命令如下:

(1)查看lib文件中函数命令:

dumpbin.exe -LINKERMEMBER "E:\CSourcesPro\Dll2\Debug\Dll2.lib" > "C:\Users\dell\Desktop\A.txt"

(2)查看dll文件中函数命令:

dumpbin.exe -exports "E:\CSourcesPro\Dll2\Debug\Dll2.dll" > "C:\Users\dell\Desktop\A.txt"

猜你喜欢

转载自blog.csdn.net/yushengqi12345/article/details/128701715