lucasg / Dependencies

A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
MIT License
8.5k stars 699 forks source link

Gui Modules info list lacks the main module #221

Open viruscamp opened 2 years ago

viruscamp commented 2 years ago

I have a simple win32 executable test.exe, it depends on only kernel32.dll. The module tree is same in DependenicesGUI, and in depends. But the modules info list in DependenicesGUI, is like

C:\WINDOWS\SysWOW64\kernel32.dll i386 Dll

It should show the line:

C:\test.exe i386 Exe
EA117 commented 5 months ago

Agree that this is needed. DependencyWalker had up to four different indications on-screen that the module you were viewing the dependencies for was an AMD64 build versus an i386 build.

(Which was important to confirm, since DependencyWalker was dumb and would try and inspect 64-bit dependency images when viewing a 32-bit root module, and vice-versa.)

But DependenciesGui.exe has zero definitive indications on-screen for what architecture the root module was built for, let alone the other image details. I have to use the external PEView.exe to know for the root module the same information DependenciesGui.exe willingly shows for every other module.

Thanks for the pull request, and hopefully this gets in there at the next opportunity.