Skip to main content

Crate ntoseye

Crate ntoseye 

Source

Modules§

backend
bugchecks
cli
configure
cpu_state
Per-processor kernel state: _KPCR / _KPRCB location and processor count, shared by the CPU and scheduler commands.
dap
DAP server for a single kernel-debugging session.
dbg_backend
debugger_data
diagnostics
disasm
dmp
dump_writer
.dump: write a WinDbg-loadable kernel memory dump (PAGEDU64 full dump) from a live target’s physical memory.
error
exception_policy
expr
gdb
guest
host
kd
kuser_shared
mcp
MCP server: the debugger’s REPL command language over the Model Context Protocol, for clients that cannot run Python themselves.
memory
memory_backend
ntstatus
Windows error names from the Windows SDK ntstatus.h and winerror.h.
output
The REPL’s stdout seam. Command rendering writes through [out!] / [outln!] instead of print!/println!, so a host that owns stdout for something else (the stdio MCP transport, which speaks JSON-RPC on it) can run a command and take its text with capture. With no capture active the macros are plain stdout, so the interactive REPL is unchanged.
phys
python
repl
session
structured
REPL command line → structured View, for hosts that want typed values (the MCP command tool’s format=json). Each arm evaluates the line’s arguments with the REPL’s expression grammar and radix, then calls the same core function and view builder the Python SDK method uses, so the three surfaces cannot drift. Commands without a structured decoding return None and the caller falls back to the text renderer.
symbols
target
trapframe
x64 and ARM64 _KTRAP_FRAME decoding.
triage
triage_report
Presentation-free crash triage aggregation shared by debugger frontends.
types
typeview
Typed field decoding shared by REPL commands and DAP variables.
ui
The single presentation layer for terminal styling. Domain types (e.g. VirtAddr) stay plain; everything that adds color goes through here, so the palette lives in one place and stays consistent.
unwind
view

Macros§

repl_command

Enums§

Backend
A live debug transport. The one enum every host (CLI, MCP, Python SDK) parses its backend choice into; session::Session::open builds from it.
TargetSpec
What to attach to: a crash dump, or a live VM over one Backend.

Constants§

DEFAULT_GDB_ADDR
DEFAULT_KDNET_ADDR
DEFAULT_KD_SOCKET