gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-03 05:21:53 31 4
gpt4 key购买 nike

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

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

最佳答案

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/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com