HeapDetail

final class ntoseye.HeapDetail

Subclass of BaseRecord.

One decoded heap (!heap -h|-a <heap>, Heap.inspect()).

property address: int
property error: str | None

The reason that ntoseye could not decode the heap.

property index: int

Position in the process’s heap list.

property kind: Literal['nt', 'segment', 'unknown']
property list_entries: bool

Whether ntoseye walked and listed the entries, chunks, and blocks.

property nt: NtHeapDetail | None

The NT (_HEAP) decoding. None for other heap kinds or if the decoding failed.

property segment: SegmentHeapDetail | None

The segment-heap decoding. None for other heap kinds or if the decoding failed.

property signature: int | None

The _HEAP.Signature of an unknown heap (0 if ntoseye could not classify it). None for NT and segment heaps.