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 is also very useful for troubleshooting system errors related to loading and executing modules. Dependency Walker detects many common application problems such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine types of modules, and module initialization failures. Dependency Walker runs on Windows 95, 98, Me, NT, 2000, XP, 2003, Vista, 7, and 8. It can process any 32-bit or 64-bit Windows module, including ones designed for Windows CE. It can be run as graphical application or as a console application. Dependency Walker handles all types of module dependencies, including implicit, explicit (dynamic / runtime), forwarded, delay-loaded, and injected. A detailed help is included. Dependency Walker is completely free to use. However, you may not profit from the distribution of it, nor may you bundle it with another product.
使用
- 进入 下载
- 双击exe运行,打开软件后,直接将要我们想要查看依赖关系的exe程序或者dll文件拖拽到窗口中灰色区域,拖拽后软件可能会卡顿一段时间,此时软件正在快速分析依赖关系,耐心等待即可,时间长短与依赖关系复杂程度相关。
- 根据左侧文件导航区查看相关依赖库信息,如果电脑没有检测到相应库的文件,会提示为红色。我们只需在我们开发软件的电脑中找到该库文件,将其加入到发布程序中去就可以解决程序在其它机器无法运行的问题了。 如果没找到依赖库,显示如下: 如果一些带问号的,如
API-MS-WIN
等,是系统相关信息,可以忽略。