File: /home/xml/desktop/working - Windbg Page 1 of 2
File: /home/xml/desktop/working - Windbg Page 1 of 2
.sympath+ srv*c:\symbols*https://msdl.microsoft.com/download/symbols
.reload
- Or, Ctrl-s
paste the link
srv*c:\symbols*https://msdl.microsoft.com/download/symbols
dt nt!_eprocess
dt nt!_kprocess
5. dt command
- dt : display type
The dt command used as shown earlier shows the format of the selected structure,
not the
contents of any particular instance of that structure type.
6.
There are different kinds of commands in WinDbg.
- Regular commands, e.g. kb apply to the debugging session. E.g. show stack dump
etc.
- Meta commands are prefixed with a dot, e.g. .load. Meta commands apply to the
debugger itself. E.g. load extensions, show help and so forth.
- Extension commands are prefixed with an exclamation mark, e.g. !analyze and !
dumpheap are defined in debugger extensions (DLLs that provide additional
functionality).
7.
!dp is: display pointer
https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/getting-started-
with-windbg
10. Analyst's Perspective: Analyzing User Mode State from a Kernel Connection
https://www.osronline.com/article.cfm%5Earticle=576.htm
11.
!lmi nt
13.Good cheatsheet
https://github.com/repnz/windbg-cheat-sheet
14.
!process - Dump current process information
!process 123 - dump process with cId (client id in kernel context, and process id
from user context): 0x123
lkd> !peb
PEB at 000007fffffd5000
error 1 InitTypeRead( nt!_PEB at 000007fffffd5000)...