GdtDescriptor

final class ntoseye.GdtDescriptor

Subclass of BaseRecord.

One decoded GDT descriptor. A system descriptor uses two slots.

property base: Diagnostic[int]

The segment base.

property default_size: Diagnostic[bool]

The D/B bit: 32-bit default operand size.

property descriptor_kind: Diagnostic[str]

system or code/data.

property dpl: Diagnostic[int]

The descriptor privilege level.

property granularity: Diagnostic[bool]

The G bit: the limit is in 4 KiB pages.

property high_raw: Diagnostic[int | None]

The second slot of a system descriptor. The diagnostic value is None for other descriptors.

property index: int

The slot index.

property limit: Diagnostic[int]

The segment limit, in bytes.

property long_mode: Diagnostic[bool]

The L bit: a 64-bit code segment.

property present: Diagnostic[bool]
property raw: Diagnostic[int]

The 8 raw bytes of the descriptor.

property type_code: Diagnostic[int]

The raw type field.