sách gpt4 ai đã đi

dll - 如何找出可执行文件将加载哪些 dll?

In lại 作者:行者123 更新时间:2023-12-03 05:21:53 33 4
mua khóa gpt4 Nike

如果我有 Windows 可执行文件,我如何找出它将加载哪些 dll?

我只是谈论哪些将静态加载,而不是那些可能使用 LoadLibrary 等动态加载的内容。

1 Câu trả lời

dumpbin是VC++自带的工具。

查看程序将导入哪些 DLL:

  • 打开 Visual Studio
  • 菜单项工具| Visual Studio 命令提示符
  • cd 到包含可执行文件的文件夹
  • dumpbin/dependentswhatever.exe
Dump of file whatever.exe

File Type: EXECUTABLE IMAGE

Image has the following dependencies:

AIOUSB.DLL
sqlite3.dll
wxmsw293u_core_vc_custom.dll
wxbase293u_vc_custom.dll
KERNEL32.dll
ole32.dll
OLEAUT32.dll
MSVCP90.dll
MSVCR90.dll

要查看它将导入哪些函数(和 DLL),请使用

C:\> dumpbin /imports whatever.exe

关于dll - 如何找出可执行文件将加载哪些 dll?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/475148/

33 4 0
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com