What is the equivalent of Linux's ldd on windows?

前端 未结 10 1559
既然无缘
既然无缘 2020-12-12 14:28

What is the equivalent of Linux\'s ldd on Windows?

相关标签:
10条回答
  • 2020-12-12 15:28

    PowerShell can do this

    PS > Start-Process -PassThru calc.exe | Get-Process -Module
    
       Size(K) ModuleName
       ------- ----------
           908 calc.exe
          1700 ntdll.dll
          1148 kernel32.dll
           432 KERNELBASE.dll
         13856 SHELL32.dll
               ...
    
    0 讨论(0)
  • 2020-12-12 15:31

    If you're using wine and not real Windows, you can use WINEDEBUG=+loaddll wine <program>.

    0 讨论(0)
  • 2020-12-12 15:32

    I guess the Windows Developer way to do this is to use dumpbin /dependents source.exe. If you have Visual Studio installed you can find it here: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\dumpbin.exe.

    0 讨论(0)
  • 2020-12-12 15:33

    Here is Dependency Walker.

    http://dependencywalker.com/

    0 讨论(0)
提交回复
热议问题