6

please forgive my windows ignorance,

Is there an application which can show me which dlls an executable is attempting to use (name, path)

I'm assuming this can be done via static analysis of executable and/or when the executable is running by examining system calls

4 Answers 4

2

Use process monitor

3
  • 1
    I'm a fan of SysInternals too - the Swiss Army Chainsaw collection of tools that should have been included with Windows from the start. But I admit that Dependency Walker is probably the more luxurious solution for this special purpose. Jul 18, 2010 at 9:50
  • @Carl Smotricz never used it, sysInternals always been enough for me but I will have a look at dep walker
    – redsquare
    Jul 18, 2010 at 9:53
  • @redsquare: The main difference is that Dependency Walker tells you about the dependencies a particular EXE or DLL has, so you can figure out why it won't start, or what you'd need to ship with it. Process Explorer can tell you what libraries are loaded, once a process has been started, but it has to start for that purpose. Process Monitor will tell you what goes on at the OS interface, but figuring out the same things Dependency Walker just tells you, can sometimes be cumbersome.
    – Joey
    May 24, 2017 at 5:52
2

Try Dependency Walker.

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.

0

Dependency Walker.

0
0

Dependency walker

It's fabulous, and lets you see the hierarchy of dependent DLL's. It also shows you functions that the DLL exports. I've even used it to solve mysterious Error 127 problems.

http://www.dependencywalker.com/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.