Coming from WinDbg¶
ntoseye speaks WinDbg’s command language, so most of what you type in WinDbg works unchanged. This page lists what carries over, what is spelled differently or missing, and what ntoseye adds.
What carries over¶
Command names and syntax.
bp,kn,dt,!process,lm,u, thed*ande*families,.reload,.sympath,!analyze, and so on. The command reference lists every one.MASM expressions with WinDbg’s hexadecimal default radix:
poi(),by/wo/dwo/qwo,@rax,$ip/$proc/$threadand the other pseudo-registers,@$name, separated addresses likefffff803`1a2b3c4d. See Expressions.The breakpoint grammar: pass counts,
if <expr>conditions,do "<commands>"actions with a trailinggc,/1,/p,/t. See Breakpoints.Symbols. Microsoft’s symbol server is the default, and the cache under
~/.ntoseye/symbolsuses thesymstorelayout that WinDbg reads too..kdfilesreads WinDbg’s driver replacement map files. See Driver replacement.
Spelled differently, or missing¶
In WinDbg |
In ntoseye |
|---|---|
|
Typed MASM expressions: |
|
|
|
The Python SDK or a custom command. |
|
|
|
|
|
|
|
|
|
|
Behaves differently¶
Breakpoint scoping is a filter.
bp /p <pid>and/tare checked byntoseyewhen a breakpoint hits; the breakpoint itself is global, so a breakpoint in a shared DLL traps every process that runs it, and hits outside the scope are resumed silently. Breakpoints in shared pages explains the cost./c <processor>scopes to one processor and has no WinDbg equivalent.Some backends need no debugger in Windows. Over the
gdbandmemorybackends Windows boots normally, withoutbcdedit /debug, so it does not know it is being debugged and behaves as it does in production. See Choosing a backend.
Only in ntoseye¶
Target and session:
status,capabilities,vcpu, convenience variables withset,unset, andvars.Symbols:
.fetchimagedownloads a module’s image,ldforces one module’s symbol loading.VBS:
.vtl,!trustlets, and.vtlcxrinspect the secure kernel and the Windows hypervisor. See VBS and the Windows hypervisor.Scripting: custom REPL commands in Python, reloaded with
reload-scripts.