summaryrefslogtreecommitdiffstats
path: root/sploit/rev/elf.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sploit/rev/elf.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sploit/rev/elf.py b/sploit/rev/elf.py
index 7bfd31f..e099819 100644
--- a/sploit/rev/elf.py
+++ b/sploit/rev/elf.py
@@ -1,5 +1,4 @@
from sploit.rev import ldd, r2
-from sploit.util import __attr_filter__
class ELF:
def __init__(self, path):
@@ -38,9 +37,7 @@ class ELF:
class __LOCALS__:
def __init__(self, elf):
self.elf = elf
- def __getattribute__(self, sym):
- if(sym in (['elf'] + __attr_filter__)):
- return object.__getattribute__(self,sym)
+ def __getattr__(self, sym):
return r2.get_locals(self.elf.path, getattr(self.elf.sym, sym))
def retaddr(self, caller, callee):