Stop¶
- class ntoseye.Stop¶
Subclass of
BaseRecord.Why the target stopped, with the context it stopped in, snapshotted at the stop. Each kind is a subclass with that kind’s own parts:
Stop.Breakpoint(breakpoint),Stop.Exception(exception),Stop.ModuleLoadandStop.ModuleUnload(module),Stop.Bugcheck(bugcheck),Stop.Reload(reload),Stop.Step,Stop.InterruptandStop.Entry;isinstanceandmatchtell them apart, askinddoes.The parts are records, not live handles; the collections take them as keys:
dbg.threads[stop.thread],dbg.processes[stop.process],dbg.modules[stop.module];dbg.cpus[stop.cpu]is the processor.- property cpu: int | None¶
The zero-based number of the processor that stopped, as
dbg.cpusnumbers them in the current view;Noneon a user-mode minidump, whose threads are no processors.
- hit(bp: Breakpoint) bool¶
Whether breakpoint
bpis the one that stopped the target.bpmay be deleted since (a one-shot breakpoint that fired); a later breakpoint that reuses its id, or another debugger’s, is not it.
- property inspection_process: ProcessInfo | None¶
The
.processinspection scope at the stop, which can differ fromprocess.
- property kind: Literal['breakpoint', 'exception', 'interrupt', 'step', 'module_load', 'module_unload', 'bugcheck', 'reload', 'entry']¶
The kind of stop, in snake case.
- property process: ProcessInfo | None¶
The process whose page tables the stopped vCPU has loaded (its CR3).
- property rip: int | None¶
Where it stopped. A bugcheck’s fault site is in
bugcheck, a breakpoint’s address inbreakpoint, an exception’s inexception.
- property symbol: str | None¶
The nearest symbol to
rip, named in the stopped vCPU’s own address space.
- property thread: ThreadInfo | None¶
The Windows thread the stopped vCPU runs.
- property vtl: int | None¶
The VTL the stopped vCPU runs in (1: the secure kernel);
Nonefor a user dump.
- final class Breakpoint¶
Subclass of
Stop.A breakpoint or watchpoint hit.
- property breakpoint: BreakpointHit¶
- final class Bugcheck¶
Subclass of
Stop.The guest is in a bugcheck.
bugcheckis the code and parameters when the transport decoded them (Noneotherwise);dbg.inspect.bugcheck()reads and analyzes the bugcheck from guest memory (!analyze).- property bugcheck: BugcheckInfo | None¶
- final class Entry¶
Subclass of
Stop.Nothing stopped the target since the debugger attached: it was found halted (a dump, a target attached halted).
- final class Exception¶
Subclass of
Stop.A Windows exception.
- property exception: ExceptionStop¶
- final class ModuleLoad¶
Subclass of
Stop.A kernel image loaded, and a
ldfilter set tobreaknames it (dbg.exceptions.set_module_event("ld", ...),sxe ld). The module is listed with its symbols and breakpoints, and its entry point has not run.- property module: ModuleInfo¶
- final class ModuleUnload¶
Subclass of
Stop.A kernel image is unloading, and a
udfilter set tobreaknames it (sxe ud). Its unload routine has run, and it is still listed.- property module: ModuleInfo¶
- final class Reload¶
Subclass of
Stop.The guest rebooted and the debugger rebuilt its state; earlier handles are stale.
- property reload: ReloadStop¶