Skip to content

Commit

Permalink
Fix: *address* instead of *sp*
Browse files Browse the repository at this point in the history
  • Loading branch information
Agahlot committed Feb 5, 2018
1 parent dbb5897 commit 82fcb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peda.py
Original file line number Diff line number Diff line change
Expand Up @@ -4746,7 +4746,7 @@ def telescope(self, *arg):

step = peda.intsize()
if not peda.is_address(address): # cannot determine address
msg("Invalid $SP address: 0x%x" % sp, "red")
msg("Invalid $SP address: 0x%x" % address, "red")
return
for i in range(count):
if not peda.execute("x/%sx 0x%x" % ("g" if step == 8 else "w", address + i*step)):
Expand Down

0 comments on commit 82fcb5a

Please sign in to comment.