views:

123

answers:

2

In a Portable-Exe ,there is possibilities to find the imported section ,and also all imported dll names (using import descriptor).Here Ex, One application Exe has many imported dlls(kernel32,advapi,user,comctl32....etc),Now i want to find all dependencies in that app exe(imported dlls)..give me the logic using recursive function calling..

Here ,Ex notepad.exe ,supposed having two dlls (advapi32,user32) ,i can fetch those dlls details ,i want to know imported dlls of advapi and user32 ....by the way of all dependencies...can u give the logic only ,its very helpful to me ....thanks

+2  A: 

depends.exe. Search the web.

Moron
It's called dependency walker: http://www.dependencywalker.com/
mxp
A: 

Dependency Walker can do this for you: It displays a tree of all dependencies and their dependencies.

alt text

mxp