利用工具dumpbin查看.dll文件中包含的函数(方法)
您安装的有vistual studio 系列软件的话,里面是自带这个工具的,比如以我的本机为例在 D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
找到需要查看函数的dll文件,例如 c:\windows\system32\user32.dll 为例
则在命令行下输入
dumpbin.exe /exports c:\windows\system32\user32.dll
即可
--------------------------------------------
dumpbin.exe /exports I:\work\linphone\sipdemo-master\SIPEngine\linphone\linphone.dll >d:\1.txt
记录到文本
如下
Microsoft (R) COFF/PE Dumper Version 14.32.31332.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file I:\work\linphone\sipdemo-master\SIPEngine\linphone\linphone.dll
File Type: DLL
Section contains the following exports for linphone.dll
00000000 characteristics
59413157 time date stamp Wed Jun 14 20:51:35 2017
0.00 version
1 ordinal base
1857 number of functions
1857 number of names
ordinal hint RVA name
1 0 0005A2C0 _linphone_core_add_callbacks
2 1 00058470 buddy_lookup_request_set_key
3 2 00016BF0 call_logs_read_from_config_file
4 3 00026630 lime_createMultipartMessage
5 4 000269D0 lime_decryptFile
6 5 00026A30 lime_decryptMessage
7 6 00026AD0 lime_decryptMultipartMessage