Dependency Walker Explained
Dependency Walker or depends.exe is a free program for Microsoft Windows used to list the imported and exported functions of a portable executable file. It also displays a recursive tree of all the dependencies of the executable file (all the files it requires to run). Dependency Walker was included in Microsoft Visual Studio until Visual Studio 2005 (Version 8.0) and Windows XP SP2 support tools. The latest version v2.2.10011 is not available on dependencywalker.com website but is included in the Windows Driver Kit v10.[6] [7] [8] [9]
As of Windows 7, Microsoft introduced the concept of Windows API-sets, a form of DLL redirection.[10] [11] [12] Dependency Walker has not been updated to handle this layer of indirection gracefully, and when used on Windows 7 and later it will likely show multiple errors. Dependency Walker can still be used for some application level debugging despite this.
As of October 2017 an Open Source C# rewrite of Dependency Walker called Dependencies.exe has been released on GitHub. It does not yet offer the full range of Dependency Walker features, but has been updated to handle Windows API-sets and WinSxS (side-by-side assemblies).
Basic features
- Runs on Windows 95, 98, Me, NT, 2000, XP, 2003, Vista, 7, 8 and 10
- List all dependent modules (portable executables)
- Supports 64-bit and Windows CE executables
- Detects if the module is programmed in C or C++
- Detects modules not listed in the import address table
- Color coding of the list to help highlight problems (broken dependencies are highlighted in red)
- Traces dependencies recursively, and lists dependencies of all modules in a tree view
See also
ldd
shows an executable's shared library dependencies on Unix-like operating systems
nm
(with option -D
) shows a list of symbols that an executable imports from shared libraries on Unix-like operating systems
- GNU binutils, similar tools for ELF executables
External links
Notes and References
- http://www.stevemiller.net/apps/ Dependency Walker 2.2 (Windows 95 - Windows 10)
- https://books.google.com/books?id=btz1pswvApcC&dq=%22Dependency+Walker%22+Steve+Miller&pg=PA123 Page 123
- https://groups.google.com/d/msg/microsoft.public.vc.utilities/XRbb4Iy7WOs/Z1jEdMUhnB8J Tool 'depends' - Depends.exe (1/1)
- https://support.microsoft.com/en-us/kb/256872 Download for version: 2.1.3623 Release Date: June 25, 2002
- http://www.techworld.com/download/portable-applications/microsoft-dependency-walker-21-32-bit-3213897/ Review:Microsoft Dependency Walker 2.1 (32-bit):Analyse application failures in seconds with Dependency Walker
- https://stackoverflow.com/questions/8832936/profiling-x86-executable-with-dependency-walker-hangs-on-windows-7-x64 Profiling x86 executable with Dependency Walker hangs on Windows 7 x64
- https://msdn.microsoft.com/en-US/windows/hardware/gg454513 Download kits and tools for Windows hardware development
- https://books.google.com/books?id=2LZ99kBIwKYC&pg=PA104 Page 104
- https://msdn.microsoft.com/en-us/library/ms838626%28v=winembedded.5%29.aspx#xpe3rdparty_topic2 Dependency Walker
- Web site: ApiSetSchema. www.geoffchappell.com. 2016-10-03.
- Web site: Windows 8.1 API Sets (Windows). msdn.microsoft.com. 2016-10-03.
- Web site: Dynamic-Link Library Redirection . msdn.microsoft.com . 2016-10-03 . https://web.archive.org/web/20160302060751/https://msdn.microsoft.com/en-us/library/windows/desktop/ms682600(v=vs.85).aspx . 2016-03-02 . live.