From f6ac9c83676d9bdc4057af7c0b24847f3b426b92 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 5 Nov 2017 15:28:38 +0000 Subject: [PATCH] Remove a no longer used function, so it doesn't get stuck in the API forever. --- volatility/framework/symbols/intermed.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/volatility/framework/symbols/intermed.py b/volatility/framework/symbols/intermed.py index bfc3c17d3..2527c8e0f 100644 --- a/volatility/framework/symbols/intermed.py +++ b/volatility/framework/symbols/intermed.py @@ -89,28 +89,6 @@ class IntermediateSymbolTable(interfaces.symbols.SymbolTableInterface): # Inherit super().__init__(context, config_path, name, native_types or self._delegate.natives) - @classmethod - def open(cls, context, config_path, name, relative_isf, native_types = None): - """Constructs an IntermediateSymbolTable based on a relative path rather than a full URL - - This will attempt to load .json and .json.xz files - """ - search_paths = constants.SYMBOL_BASEPATHS - isf_url = None - for path in search_paths: - # Favour specific name, over uncompressed JSON (user-editable), over compressed JSON over uncompressed files - for extension in ['', '.json', '.json.xz']: - test = os.path.join(path, relative_isf + extension) - if os.path.exists(test): - isf_url = pathlib.Path(test).as_uri() - break - if isf_url: - break - else: - raise FileNotFoundError( - "ISF path fragment {} could not be found in standard search paths".format(relative_isf)) - return cls(context, config_path, name, isf_url, native_types) - def _closest_version(self, version, versions): """Determines the highest suitable handler for specified version format