summaryrefslogtreecommitdiffstats
path: root/sploit/rev/elf.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sploit/rev/elf.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/sploit/rev/elf.py b/sploit/rev/elf.py
index d9edd40..1957c15 100644
--- a/sploit/rev/elf.py
+++ b/sploit/rev/elf.py
@@ -1,16 +1,6 @@
from sploit.rev import ldd, r2
-__ELF_CACHE__ = {}
-
-def ELF(path):
- if path in __ELF_CACHE__:
- return __ELF_CACHE__[path]
- else:
- elf = __ELF__(path)
- __ELF_CACHE__[path] = elf
- return elf
-
-class __ELF__:
+class ELF:
def __init__(self, path):
self.path = path
self.sym = r2.get_elf_symbols(self.path)