From 981d333195748f7ac0dadeb32d6d0ef48d816643 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Fri, 17 Aug 2018 10:52:48 +0100 Subject: [PATCH] Fix ObjectInterface __getattr__ making objects that don't override return None rather than raising an AttributeError. --- volatility/framework/interfaces/objects.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/volatility/framework/interfaces/objects.py b/volatility/framework/interfaces/objects.py index cd9d0c4b4..51aa97cfb 100644 --- a/volatility/framework/interfaces/objects.py +++ b/volatility/framework/interfaces/objects.py @@ -108,10 +108,6 @@ class ObjectInterface(validity.ValidityRoutines, metaclass = ABCMeta): Raises InvalidDataException on failure to validate the data correctly. """ - def __getattr__(self, attr: str) -> typing.Any: - """Method for ensuring volatility members can be returned""" - pass - def get_symbol_table(self) -> typing.Optional['interfaces.symbols.SymbolTableInterface']: """Returns the symbol table for this particular object