本文由Markdown语法编辑器编辑完成。
1. 背景:
在实际的项目开发和运行中,常常涉及到lib/dll之间的相互调用,那么我们就有必要知道这些lib/dll之间的相互调用关系。
今天就介绍一个专门用来查看链接库的依赖关系的软件,名称为:Dependency Walker.
它的官方网站如下:
http://www.dependencywalker.com/
关于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.
2. Dependency Walker的使用方法:
未完待续……