Catch unsupported architectures in pwndbg.arguments

pull/157/head 2017.02.01
Zach Riggle 9 years ago
parent f6fc5546c5
commit 99823ee68d

@ -77,7 +77,10 @@ def get(instruction):
if instruction.address != pwndbg.regs.pc:
return []
abi = pwndbg.abi.ABI.default()
try:
abi = pwndbg.abi.ABI.default()
except KeyError:
return []
if CS_GRP_CALL in instruction.groups:
# Not sure of any OS which allows multiple operands on

Loading…
Cancel
Save