Dont die on non-emulated architectures

pull/157/head
Zach Riggle 9 years ago
parent 9042f5f761
commit 181a9b7de5

@ -171,6 +171,10 @@ def near(address, instructions=1, emulate=False):
insns.append(current) insns.append(current)
# Some architecture aren't emulated yet
if pwndbg.arch.current not in pwndbg.emu.emulator.arch_to_UC:
emulate = False
# Emulate forward if we are at the current instruction. # Emulate forward if we are at the current instruction.
emu = None emu = None

Loading…
Cancel
Save