summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sploit/symtbl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sploit/symtbl.py b/sploit/symtbl.py
index aa6fc69..e51b72d 100644
--- a/sploit/symtbl.py
+++ b/sploit/symtbl.py
@@ -175,6 +175,6 @@ class SymtblImpl:
s = f"{len(self)} symbols @ {hex(self)}"
s += FMT.format("ADDRESS", "SYMBOL")
for symbol, offset in sorted(self, key=lambda v: int(v[1])):
- disp = f"[{symbol}]" if type(offset) is SymtblImpl else symbol
+ disp = f"[{symbol}]" if type(offset) is not int else symbol
s += FMT.format(hex(offset), disp)
return s