Don't attempt to explore address space if we know all of it

pull/22/head
Zach Riggle 10 years ago
parent 32798791d7
commit ae87b1fff3

@ -69,6 +69,9 @@ def explore(address_maybe):
Also assumes the entire contiguous section has the same permission.
"""
if proc_pid_maps():
return None
address_maybe = pwndbg.memory.page_align(address_maybe)
flags = 4 if pwndbg.memory.peek(address_maybe) else 0

Loading…
Cancel
Save