From c5042ee3cc4e1c6769afae007b66495f323aff82 Mon Sep 17 00:00:00 2001 From: Zach Riggle Date: Wed, 20 Apr 2016 15:10:41 -0700 Subject: [PATCH] Python3 fix --- pwndbg/regs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pwndbg/regs.py b/pwndbg/regs.py index 3acea6def..325d9d20c 100644 --- a/pwndbg/regs.py +++ b/pwndbg/regs.py @@ -18,6 +18,11 @@ import pwndbg.memoize import pwndbg.proc import pwndbg.remote +try: + long +except NameError: + long=int + class RegisterSet(object): #: Program counter register