Skip to content

Commit

Permalink
Fix "unhashable dict" error in #111
Browse files Browse the repository at this point in the history
  • Loading branch information
zachriggle committed Sep 22, 2016
1 parent 1b6f567 commit be9b067
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwndbg/regs.py
Expand Up @@ -349,6 +349,8 @@ def all(self):
continue
elif isinstance(regset, (list, tuple)):
retval.extend(regset)
elif isinstance(regset, dict):
retval.extend(regset.keys())
else:
retval.append(regset)
return retval
Expand Down

0 comments on commit be9b067

Please sign in to comment.