mirror of https://github.com/pwndbg/pwndbg
Fix context args crash on missing instruction (#1055)
This commit is contained in:
parent
214f993047
commit
f2e5c98f23
|
@ -73,6 +73,9 @@ def get(instruction):
|
|||
"""
|
||||
n_args_default = 4
|
||||
|
||||
if instruction is None:
|
||||
return []
|
||||
|
||||
if instruction.address != pwndbg.regs.pc:
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in New Issue