mirror of https://github.com/pwndbg/pwndbg.git
Fix gdt command: require address argument (#2497)
Before this commit, the `gdt` command incorrectly did not require the `address` argument, while it was required. Because of that, the command crashed like this: ``` pwndbg> gdt 'gdt': Decode X86-64 GDT entries at address See also: * https://wiki.osdev.org/Global_Descriptor_Table * https://wiki.osdev.org/GDT_Tutorial Note: 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. Exception occurred: gdt: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' (<class 'TypeError'>) For more info invoke `set exception-verbose on` and rerun the command or debug it by yourself with `set exception-debugger on` ```pull/2524/head
parent
842aae7bf8
commit
3f206ad31d
Loading…
Reference in new issue