Disable memory pages exploration for now

The `explore_registers` and `clear_explored_pages` functions are currently redundant as we create an empty memory page on QEMU targets.

Also, this functions are not so useful to be called automagically on real remote and embedded targets where we may not have the memory pages information (as it may be too slow to explore stuff via remote gdbstub on a real embedded target).
pull/958/head
Disconnect3d 4 years ago
parent 6345078ae3
commit 30dd9b4479

@ -118,13 +118,13 @@ def explore(address_maybe):
return page return page
# Automatically ensure that all registers are explored on each stop # Automatically ensure that all registers are explored on each stop
@pwndbg.events.stop #@pwndbg.events.stop
def explore_registers(): def explore_registers():
for regname in pwndbg.regs.common: for regname in pwndbg.regs.common:
find(pwndbg.regs[regname]) find(pwndbg.regs[regname])
@pwndbg.events.exit #@pwndbg.events.exit
def clear_explored_pages(): def clear_explored_pages():
while explored_pages: while explored_pages:
explored_pages.pop() explored_pages.pop()

Loading…
Cancel
Save