Lines Matching refs:gdb
11 import gdb
15 PHYSICAL_ADDRESS_MASK = gdb.parse_and_eval('0xfffffffffffff')
21 return gdb.parse_and_eval('(u64) ~0xfff')
24 return gdb.parse_and_eval('(u64) ~0x1fffff')
27 return gdb.parse_and_eval('(u64) ~0x3fffffff')
35 pob_symbol = gdb.lookup_global_symbol('page_offset_base')
37 return gdb.parse_and_eval(pob)
91 memoryview(gdb.selected_inferior().read_memory(address, 8)),
197 class TranslateVM(gdb.Command):
205 super(TranslateVM, self).__init__('translate-vm', gdb.COMMAND_USER)
209 vm_address = gdb.parse_and_eval(f'{arg}')
210 cr3_data = gdb.parse_and_eval('$cr3')
211 cr4 = gdb.parse_and_eval('$cr4')
215 gdb.write(page_entry.mk_string())
218 gdb.GdbError("Virtual address translation is not"