次の方法で共有


!dlls

!dlls 拡張機能には、読み込まれたすべてのモジュール、または指定したスレッドまたはプロセスが使用しているすべてのモジュールのテーブル エントリが表示されます。

!dlls [Options] [LoaderEntryAddress] 
!dlls -h

パラメーター

オプション 出力のレベルを指定します。 このパラメータには、次の値を任意に組み合わせて指定できます:

-f
ファイル ヘッダーを表示します。

-s
セクション ヘッダーを表示します。

-a
完全なモジュール情報を表示します。 (このオプションは -f -s と同等です。)

-c **** ModuleAddress
ModuleAddress を含むモジュールを 表示します。

-i
初期化順序で表示を並べ替えます。

-l
読み込み順序で表示を並べ替えます。 この状況がデフォルトです。

-m
メモリの順序で表示を並べ替えます。

-v
バージョン情報を表示します。 この情報は、各モジュールのリソース セクションから取得されます。

LoaderEntryAddress
モジュールのローダー エントリのアドレスを指定します。 このパラメーターを含める場合、デバッガーはこの特定のモジュールのみを表示します。

-h
この拡張機能のヘルプ テキストをデバッガー コマンド ウィンドウに表示します

DLL

Exts.dll

解説

モジュールの一覧には、各モジュールへのすべてのエントリ ポイントが含まれます。

.dlls 拡張機能は、ライブ デバッグでのみ機能します (クラッシュ ダンプ分析では機能しません)。

カーネル モードでは、この拡張機能は現在のプロセス コンテキストのモジュールを表示します。 !dll をシステム プロセスまたはアイドル プロセスと共に使用することはできません。

次の例は、!dlls拡張子の使用方法を示しています。

kd> !dlls -c 77f60000
Dump dll containing 0x77f60000:

0x00091f38: E:\WINDOWS\System32\ntdll.dll
      Base   0x77f60000  EntryPoint  0x00000000  Size        0x00097000
      Flags  0x00004004  LoadCount   0x0000ffff  TlsIndex    0x00000000
             LDRP_IMAGE_DLL
             LDRP_ENTRY_PROCESSED

kd> !dlls -a 91ec0

0x00091ec0: E:\WINDOWS\system32\winmine.exe
      Base   0x01000000  EntryPoint  0x01003e2e  Size        0x00020000
      Flags  0x00005000  LoadCount   0x0000ffff  TlsIndex    0x00000000
             LDRP_LOAD_IN_PROGRESS
             LDRP_ENTRY_PROCESSED

File Type: EXECUTABLE IMAGE
FILE HEADER VALUES
     14C machine (i386)
       3 number of sections
3A98E856 time date stamp Sun Feb 25 03:11:18 2001

       0 file pointer to symbol table
       0 number of symbols
      E0 size of optional header
     10F characteristics
            Relocations stripped
            Executable
            Line numbers stripped
            Symbols stripped
            32 bit word machine

OPTIONAL HEADER VALUES
     10B magic #
    7.00 linker version
    3A00 size of code
   19E00 size of initialized data
       0 size of uninitialized data
    3E2E address of entry point
    1000 base of code
         ----- new -----
01000000 image base
    1000 section alignment
     200 file alignment
       2 subsystem (Windows GUI)
    5.01 operating system version
    5.01 image version
    4.00 subsystem version
   20000 size of image
     400 size of headers
   21970 checksum
00040000 size of stack reserve
00001000 size of stack commit
00100000 size of heap reserve
00001000 size of heap commit
01000100 Opt Hdr
       0 [       0] address [size] of Export Directory
    40B4 [      B4] address [size] of Import Directory
    6000 [   19170] address [size] of Resource Directory
       0 [       0] address [size] of Exception Directory
       0 [       0] address [size] of Security Directory
       0 [       0] address [size] of Base Relocation Directory
    11B0 [      1C] address [size] of Debug Directory
       0 [       0] address [size] of Description Directory
       0 [       0] address [size] of Special Directory
       0 [       0] address [size] of Thread Storage Directory
       0 [       0] address [size] of Load Configuration Directory
     258 [      A8] address [size] of Bound Import Directory
    1000 [     1B0] address [size] of Import Address Table Directory
       0 [       0] address [size] of Reserved Directory
       0 [       0] address [size] of Reserved Directory
       0 [       0] address [size] of Reserved Directory


SECTION HEADER #1
   .text name
    3992 virtual size
    1000 virtual address
    3A00 size of raw data
     400 file pointer to raw data
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
60000020 flags
         Code
         (no align specified)
         Execute Read


Debug Directories(1)
        Type       Size     Address  Pointer

        cv           1c        13d0      7d0    Format: NB10, 3a98e856, 1, winmi
ne.pdb

SECTION HEADER #2
   .data name
     BB8 virtual size
    5000 virtual address
     200 size of raw data
    3E00 file pointer to raw data
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
C0000040 flags
         Initialized Data
         (no align specified)
         Read Write

SECTION HEADER #3
   .rsrc name
   19170 virtual size
    6000 virtual address
   19200 size of raw data
    4000 file pointer to raw data
       0 file pointer to relocation table
       0 file pointer to line numbers
       0 number of relocations
       0 number of line numbers
40000040 flags
         Initialized Data
         (no align specified)
         Read Only