赞
踩
如题,安装VC后,在安装目录下能够找到一个叫dumpbin.exe的程序,在命令行下,用它来查看一个exe的依赖的dll,如下所示:
> dumpbin /dependents C:\Windows\System32\curl.exe
Microsoft (R) COFF/PE Dumper Version 14.16.27045.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\Windows\System32\curl.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
WS2_32.dll
CRYPT32.dll
api-ms-win-core-file-l1-1-0.dll
api-ms-win-core-processenvironment-l1-2-0.dll
api-ms-win-core-processenvironment-l1-1-0.dll
api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l2-1-0.dll
api-ms-win-core-errorhandling-l1-1-0.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-core-libraryloader-l1-2-0.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-sysinfo-l1-1-0.dll
api-ms-win-core-localization-l1-2-0.dll
api-ms-win-core-synch-l1-1-0.dll
api-ms-win-core-kernel32-legacy-l1-1-2.dll
api-ms-win-core-libraryloader-l1-2-1.dll
api-ms-win-core-sysinfo-l1-2-0.dll
api-ms-win-core-synch-l1-2-1.dll
api-ms-win-core-namedpipe-l1-1-0.dll
api-ms-win-security-cryptoapi-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-multibyte-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll
KERNEL32.dll
api-ms-win-core-rtlsupport-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-conio-l1-1-0.dll
Summary
1000 .data
2000 .pdata
1B000 .rdata
1000 .reloc
1000 .rsrc
49000 .text
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。