Chr*_*ris 2 windows dll command-line dependencies dependency-walker
相当简单的问题,但我似乎无法在他们的命令行帮助中找到这是否是一个选项。无论如何,是否可以将依赖项步行器的内容直接输出到控制台?
是的,我知道您可以指定它输出到文件,然后我可以解析该文件,但是这需要花费大量时间,我宁愿避免。
我不一定担心它在控制台中看起来有多“丑陋”。我可以通过编程方式快速从输出中搜索我想要的内容,只需知道这是否可行。
如果您能提供任何建议,请先致谢!
Dependency是 dependency walker 的现代替代品。它包含一个 GUI 工具和一个控制台应用程序 (dependency.exe),可根据您的需要进行转储。它支持以下选项:
Dependencies.exe : command line tool for dumping dependencies and various utilities.
Usage : Dependencies.exe [OPTIONS] FILE
Options :
-h -help : display this help
-json : activate json output.
-apisets : dump the system's ApiSet schema (api set dll -> host dll)
-knowndll : dump all the system's known dlls (x86 and x64)
-manifest : dump FILE embedded manifest, if it exists.
-sxsentries : dump all of FILE's sxs dependencies.
-imports : dump FILE imports
-exports : dump FILE exports
-modules : dump FILE resolved modules
-chain : dump FILE whole dependency chain
Run Code Online (Sandbox Code Playgroud)