!dlls
L'estensione !dlls visualizza le voci di tabella di tutti i moduli caricati o di tutti i moduli usati da un thread o un processo specificato.
!dlls [Options] [LoaderEntryAddress]
!dlls -h
Parametri
Opzioni Specifica il livello di output. Questo parametro può essere qualsiasi combinazione dei valori seguenti:
-f
Visualizza le intestazioni di file.
-s
Visualizza le intestazioni di sezione.
-a
Visualizza informazioni complete sul modulo. Questa opzione equivale a -f -s.
-c **** ModuleAddress
Visualizza il modulo che contiene ModuleAddress.
-i
Ordina la visualizzazione in base all'ordine di inizializzazione.
-l
Ordina la visualizzazione in base all'ordine di caricamento. Questa situazione è l'impostazione predefinita.
-m
Ordina la visualizzazione in base all'ordine di memoria.
-v
Visualizza informazioni sulla versione. Queste informazioni provengono dalla sezione della risorsa di ogni modulo.
LoaderEntryAddress
Specifica l'indirizzo della voce del caricatore per un modulo. Se si include questo parametro, il debugger visualizza solo questo modulo specifico.
-h
Visualizza il testo della Guida per questa estensione nella finestra Del comando del debugger.
DLL
Exts.dll
Osservazioni:
L'elenco dei moduli include tutti i punti di ingresso in ogni modulo.
L'estensione dlls funziona solo nel debug in tempo reale (non con l'analisi del dump di arresto anomalo del sistema).
In modalità kernel, questa estensione visualizza i moduli per il contesto del processo corrente. Non è possibile usare !dlls insieme a un processo di sistema o al processo inattiva.
Gli esempi seguenti illustrano come usare l'estensione !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