1. 程式人生 > >Windows 下如何檢視一個dll依賴的dll呢

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

如果有更多問題,歡迎交流