Windows 下如何查看一个dll依赖的dll呢

 vs自带一个小工具dumpbin, 这个工具挺好用,可以查看dll相关依赖库,还可以看dll导出接口。

下面演示下查依赖库用法:

运行 dumpbin /dependents nm.exe

输出:

Microsoft (R) COFF/PE Dumper Version 12.00.31101.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Dump of file nm.exe


File Type: EXECUTABLE IMAGE
Image has the following dependencies:


    KERNEL32.dll
    msvcrt.dll
    USER32.dll


  Summary


        1000 .CRT
        6000 .bss
        6000 .data
        2000 .idata
        6000 .pdata
       3A000 .rdata
       BA000 .text
       1000 .tls

        6000 .xdata

如果有更多问题,欢迎交流

猜你喜欢

转载自blog.csdn.net/lsheevyfg/article/details/80946656