Re: finding out application dependencies;
- From: "David Craig" <drivers@xxxxxxxxxx>
- Date: Thu, 15 May 2008 14:46:49 -0700
Process Explorer from sysinternals does this fairly well for programs that
are running.
There is a document on the Windows PE format that shows how to read an
executable's binary and look at its imports and exports. To do this
properly you will need to look at the main program and determine what it
imports. Then, you read each of those binaries to see what they import.
Total Commander has a plugin, Lister, that can do this, but it takes a long
time to do it. This technique will not find delay load imports unless there
is a table for them, but I don't know. Any library loaded via LoadLibrary
will also not appear in this dependency list since only the executable code
knows when it is going to call that function. You could determine from the
imports that an executable does use LoadLibrary but not what it is loading.
"krish" <pradeep_bisht@xxxxxxxxx> wrote in message
news:c56bdeb4-64ae-4463-8666-80c778404e52@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
How can I find out the dependencies of an application inside my
program/driver? Say e.g If I want to find out the dependencies of
iexplorer.exe inside my program? What are the APIs? I knwo there is a
program something called dependency walker so I assume there must be
some way of doing this.
I wan to provide a GUI which lists all the programs installed on the
computer and when user cselects one of them I lists all the files
(.dlls etc) on which it is dependent.
Thanks.
.
- Follow-Ups:
- Re: finding out application dependencies;
- From: krish
- Re: finding out application dependencies;
- References:
- finding out application dependencies;
- From: krish
- finding out application dependencies;
- Prev by Date: Re: How to differentiate between IPV6 address and NetBIOS name?
- Next by Date: Is SNP broken?
- Previous by thread: finding out application dependencies;
- Next by thread: Re: finding out application dependencies;
- Index(es):
Relevant Pages
|
Loading