Dependencies icon indicating copy to clipboard operation
Dependencies copied to clipboard

Cmd Line: what is the fast way to get a list of missing DLLs?

Open robe070 opened this issue 4 years ago • 4 comments

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?

robe070 avatar Jan 22 '20 23:01 robe070

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 .

shlomif avatar Feb 24 '20 17:02 shlomif

The GUI has three big performances improvments over the CLI version which makes it way more "responsive" :

  • a BinaryCache, the GUI keeps open every PE 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 avatar Mar 01 '20 15:03 lucasg

@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!

shlomif avatar Mar 01 '20 16:03 shlomif

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?

DaDummy avatar Aug 20 '21 14:08 DaDummy