# gdt ```text usage: gdt [-h] address [count] ``` Decode X86-64 GDT entries at address See also: * https://wiki.osdev.org/Global_Descriptor_Table * https://wiki.osdev.org/GDT_Tutorial ### Positional arguments |Positional Argument|Help| | :--- | :--- | |address|x86-64 GDTR base address (e.g. read from sgdt instruction from [16:79] bits)| |count|Number of entries to dump (should be (GDTR.size+1)/8) (default: 8)| ### Optional arguments |Short|Long|Help| | :--- | :--- | :--- | |-h|--help|show this help message and exit| ### Notes In 64-bit mode, the Base and Limit values are ignored, each descriptor covers the entire linear address space regardless of what they are set to.