windows 正在使用哪些 dll?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3274992/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
which dlls are being used?
提问by bandana
please forgive my windows ignorance,
请原谅我的窗户无知,
Is there an application which can show me which dlls an executable is attempting to use (name, path)
是否有应用程序可以向我显示可执行文件正在尝试使用哪些 dll(名称、路径)
I'm assuming this can be done via static analysis of executable and/or when the executable is running by examining system calls
我假设这可以通过对可执行文件的静态分析和/或当可执行文件运行时通过检查系统调用来完成
采纳答案by Joey
回答by redsquare
Use process monitor
使用进程监视器
回答by gimel
Try Dependency Walker.
Dependency Walker is a free utility that scans any 32-bit or 64-bit Windows module (exe, dll, ocx, sys, etc.) and builds a hierarchical tree diagram of all dependent modules. For each module found, it lists all the functions that are exported by that module, and which of those functions are actually being called by other modules. Another view displays the minimum set of required files, along with detailed information about each file including a full path to the file, base address, version numbers, machine type, debug information, and more.
Dependency Walker 是一款免费实用程序,可扫描任何 32 位或 64 位 Windows 模块(exe、dll、ocx、sys 等)并构建所有依赖模块的分层树图。对于找到的每个模块,它会列出该模块导出的所有函数,以及其他模块实际调用了哪些函数。另一个视图显示所需文件的最少集合,以及每个文件的详细信息,包括文件的完整路径、基址、版本号、机器类型、调试信息等。
回答by C Johnson
Dependency walker
依赖遍历器
It's fabulous, and lets you see the hierarchy of dependent DLL's. It also shows you functions that the DLL exports. I've even used it to solve mysterious Error 127 problems.
它很棒,可以让您看到依赖 DLL 的层次结构。它还向您展示了 DLL 导出的函数。我什至用它来解决神秘的错误 127 问题。