mirror of https://github.com/pwndbg/pwndbg.git
Before:
```
pwndbg> telescope -r 3
Traceback (most recent call last):
File "/home/gsgx/code/pwndbg/pwndbg/commands/__init__.py", line 145, in __call__
return self.function(*args, **kwargs)
File "/home/gsgx/code/pwndbg/pwndbg/commands/__init__.py", line 216, in _OnlyWhenRunning
return function(*a, **kw)
File "/home/gsgx/code/pwndbg/pwndbg/commands/telescope.py", line 191, in telescope
telescope.offset += i
UnboundLocalError: local variable 'i' referenced before assignment
```
After:
```
pwndbg> telescope -r 3
00:0000│ 0x7fffffffe2b0 ◂— 0x0
01:0008│ 0x7fffffffe2b8 —▸ 0x7ffff7fe32ea (_dl_start_user+50) ◂— lea rdx, [rip - 0x1a2b1]
02:0010│ r13 rsp 0x7fffffffe2c0 ◂— 0x1
```
pull/1200/head
parent
f571d5ca84
commit
521514b204
Loading…
Reference in new issue