命令行工具找到Dll依赖项 [英] Command line tool to find Dll dependencies

查看:180
本文介绍了命令行工具找到Dll依赖项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些命令行工具可以递归找到所有DLL依赖项?
我尝试 dumpbin Visual Studio中附带的Dependency Walker (也称为Depends.exe),但是dumpbin只找到第一级的依赖关系,Dependency Walker的输出并不是计算机友好的。

Which command line tools exist to recursively find all DLL dependencies? I tried dumpbin and Dependency Walker (aka Depends.exe) that come with Visual Studio, but dumpbin only finds the first level of dependencies, and the output of Dependency Walker is not really computer friendly.

推荐答案

尝试 / oc:FILENAME 写一个逗号分隔的值文件。这看起来比机器解析比由/ ot:FILENAME /选项生成的自由格式文本文件更容易。

Try the /oc:FILENAME option to depends, to write a comma-separated values file. This looks like it's easier to parse by machine than the "free-form" text file generated by the /ot:FILENAME/ option.

这篇关于命令行工具找到Dll依赖项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆