1. Introduction
During the work process, we often encounter situations where the compiled dll library does not run properly, so we need to confirm whether the dll library is compiled normally, that is, whether the functions are compiled into the dll. Today we introduce a tool to view function definitions in dll libraries - Dependency walker.
2. Software introduction
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 map of all related modules. Dependency Walker is useful for troubleshooting loading and execution module failure errors. Dependency Walker detects many common application problems, such as missing modules, invalid modules, import/export mismatches, circular dependency errors, mismatched machine type modules and module initialization failures. So for programmers, Dependency Walker (hereinafter referred to as Depends) is an essential skill.
3. Software download
Software download address: http://www.dependencywalker.com/
Select 64-bit download here:
After the download is completed, unzip it directly to get the exe file for the software to run:
when using it, double-click to run it.
4. Use of software
Double-click to open the software, drag the corresponding exe into the interface, and click on the dll library file you want to view:
explain:
1. The reference function in the upper part: PI in the upper right corner indicates that the function in the selected dll library is referenced in the exe. Red indicates that it is undefined, and green indicates that it is defined in the dll.
2. The exported function in the lower part: if it is referenced, it is displayed in dark blue; if it is not referenced, it is displayed in gray.
5. Summary
This article mainly introduces how to download and use Dependency walker to view exe/dll for reference.