diff --git a/pwndbg/commands/windbg.py b/pwndbg/commands/windbg.py index 93078d7c8..07baea941 100644 --- a/pwndbg/commands/windbg.py +++ b/pwndbg/commands/windbg.py @@ -160,6 +160,9 @@ def eX(size, address, data, hex=True): """ address = pwndbg.commands.fix(address) + if address is None: + return + for i,bytestr in enumerate(data): if hex: bytestr = bytestr.rjust(size*2, '0')