Dependencies
Dependencies copied to clipboard
Cmd Line: what is the fast way to get a list of missing DLLs?
I'm using -modules and that is extremely slow. Far far slower than the GUI. I've not timed it, but the GUI might take a few seconds and the cmd line an hour! And I'm investigating a Docker image so I can't use the GUI.
I just need to get a list of missing DLLs. Is there a fast way to do that?
I need something like that as well for an appveyor / CI issue: https://stackoverflow.com/questions/60377366/getting-a-cmake-msys-appveyor-win10-exe-to-run-properly .
The GUI has three big performances improvments over the CLI version which makes it way more "responsive" :
- a
BinaryCache
, the GUI keeps open everyPE
file parsed in memory - the binary tree is builded asynchronously while the CLI is synchronously
- the GUI by default build the tree only with a -depth=2, while the CLI builds everything
The CLI initially was built for testing purposes and for reproducing issues, so I would have to fully rewrite this part. I'll figure something out
@lucasg @robe070 : sorry for the late update, but I tried the cmd line ./Dep*.exe -modules
on Appveyor and it was fast there. So I am no longer concerned about getting this issue fixed. Thanks!
I've run into the same issue as OP. I need to investigate a (major) application within a Windows Docker container and am surprised as to how long the CLI version takes to compile a list of loaded modules and report whether they might be missing.
Any chance of doing this improvement in a couple of smaller steps maybe?