diff options
Diffstat (limited to 'pwnlib/filepointer.py')
-rw-r--r-- | pwnlib/filepointer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pwnlib/filepointer.py b/pwnlib/filepointer.py index 6c69a5f..8b05781 100644 --- a/pwnlib/filepointer.py +++ b/pwnlib/filepointer.py @@ -176,7 +176,7 @@ class FileStructure(object): def __repr__(self): structure=[] for i in self.vars_: - structure.append(" %s: %s" % (i,hex(getattr(self, i)))) + structure.append(" %s: %#x" % (i, getattr(self, i))) return "{"+ "\n".join(structure)+"}" def __len__(self): |