Page 1 of 1

Dependency walker - great utility

Posted: Fri Sep 13, 2019 5:00 am
by Antonio Linares
A must have utility:

http://www.dependencywalker.com/
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.

Re: Dependency walker - great utility

Posted: Sat Sep 14, 2019 8:09 am
by Antonio Linares
A very good tool from the command line:

https://github.com/knik0/peinfo

Re: Dependency walker - great utility

Posted: Sat Sep 14, 2019 8:38 am
by Enrico Maria Giordano
Antonio Linares wrote:A must have utility:

http://www.dependencywalker.com/
It seems to not working with FWH EXEs. :-(

EMG

Re: Dependency walker - great utility

Posted: Sat Sep 14, 2019 8:59 am
by Antonio Linares
Enrico,

Better use:
https://github.com/knik0/peinfo

Open a bash window from Windows 10 and build it this way:
gcc peinfo.c

then:
./a.out yourapp.exe

This command line tool is great. We should build a function with it for Harbour or FWH.
It is the best one that I have ever tested