Bagikan melalui


!dlls

Ekstensi !dlls menampilkan entri tabel dari semua modul yang dimuat atau semua modul yang digunakan utas atau proses tertentu.

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

Parameter

Opsi Menentukan tingkat output. Parameter ini dapat berupa kombinasi apa pun dari nilai berikut:

-f
Menampilkan header file.

-s
Menampilkan header bagian.

-sebuah
Menampilkan informasi modul lengkap. (Opsi ini setara dengan -f -s.)

-c **** ModuleAddress
Menampilkan modul yang berisi ModuleAddress.

-i
Mengurutkan tampilan menurut urutan inisialisasi.

-L
Mengurutkan tampilan menurut urutan muatan. Situasi ini adalah default.

-m
Mengurutkan tampilan menurut urutan memori.

-v
Menampilkan informasi versi. Informasi ini diambil dari bagian sumber daya dari setiap modul.

LoaderEntryAddress
Menentukan alamat entri pemuat untuk modul. Jika Anda menyertakan parameter ini, debugger hanya menampilkan modul khusus ini.

-h
Menampilkan beberapa teks Bantuan untuk ekstensi ini di jendela Perintah Debugger.

DLL

Exts.dll

Keterangan

Daftar modul mencakup semua titik masuk ke dalam setiap modul.

Ekstensi .dlls hanya berfungsi dalam penelusuran kesalahan langsung (bukan dengan analisis crash dump).

Dalam mode kernel, ekstensi ini menampilkan modul untuk konteks proses saat ini. Anda tidak dapat menggunakan !dll bersama dengan proses sistem atau proses menganggur.

Contoh berikut menunjukkan kepada Anda cara menggunakan ekstensi !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