summaryrefslogtreecommitdiffstats
path: root/sploit/symtbl.py
diff options
context:
space:
mode:
Diffstat (limited to 'sploit/symtbl.py')
-rw-r--r--sploit/symtbl.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/sploit/symtbl.py b/sploit/symtbl.py
index 05021f7..aa6fc69 100644
--- a/sploit/symtbl.py
+++ b/sploit/symtbl.py
@@ -170,11 +170,7 @@ class SymtblImpl:
return symbol in self.__entries__
def __repr__(self):
- """Return string representation of Symtbl"""
- return str(self)
-
- def __str__(self):
- """Return string representation of Symtbl"""
+ """Return human-readable Symtbl"""
FMT = "\n{:<20} {:<20}"
s = f"{len(self)} symbols @ {hex(self)}"
s += FMT.format("ADDRESS", "SYMBOL")