Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency Walker with kernel32.dll on Windows 10

I tried to open kernel32.dll using Dependency Walker on Windows 10. I got the following error and warning:

Error: At least one required implicit or forwarded dependency was not found

Warning: At least one delay-load dependency module was not found.

Screenshot: Error reading dependency

I'm running Windows 10 32-bit, and the Dependency Walker is also 32-bit. Also, I'm running Dependency Walker as admin.

like image 878
Ash Avatar asked Nov 09 '15 08:11

Ash


People also ask

Does Dependency Walker work on Windows 10?

Dependency Walker (Depends), which can be launched via Process Explorer, no longer works well in Windows 10 as of at least build 10.0. 19043 (21H1 May 2021 update). The UI can hang for several minutes while (e.g.) enumerating Notepad's dependencies. It may be time to have Process Explorer link to an alternative.

What is Dependency Walker tool?

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.

Where can I find dependent dll files?

Yes, dumpbin.exe is very useful to figure out /dependents and /imports . You can also use it on other machines if you copy link.exe along with it and make sure the corresponding x86 Visual C++ Runtime Redistributable ( msvcr120. dll for Visual Studio 2013) is available on the target machine.


2 Answers

This has nothing to do with delay loads. These are MS API-sets - essentially, an extra level of call indirection introduced gradually since windows 7. Dependency walker development seemingly halted long before that, and it can't handle API sets properly.

So these are all false negatives and nothing to worry about. You're not missing anything.

Here it is in more words.


Edit: Only in Oct 2017 did someone finally try to fill this gap. Meet Dependencies by lucasg. I've only briefly fiddled with it until now, but it handles API sets well and is at least very worthy of attention.

like image 148
Ofek Shilon Avatar answered Oct 02 '22 16:10

Ofek Shilon


There's a reimplementation of dependency walker that is meant to implement for the later features of the dll mechanisms. Have a look at

https://github.com/lucasg/Dependencies

like image 24
Johan Lundberg Avatar answered Oct 02 '22 14:10

Johan Lundberg