From 03e750648f6068955cbed9e4dcf2fd2729b8c3ef Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 14 Apr 2025 09:20:32 -0500 Subject: [PATCH] Windows Extensions: remove lru_cache decorators These don't offer enough upside to be worthwhile compared to the decorators applied to the `add_process_layer` methods. --- volatility3/framework/symbols/windows/extensions/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/volatility3/framework/symbols/windows/extensions/__init__.py b/volatility3/framework/symbols/windows/extensions/__init__.py index b90391af3..40f4e75e3 100755 --- a/volatility3/framework/symbols/windows/extensions/__init__.py +++ b/volatility3/framework/symbols/windows/extensions/__init__.py @@ -762,7 +762,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): self._context, dtb, config_prefix, preferred_name ) - @functools.lru_cache def get_peb(self) -> interfaces.objects.ObjectInterface: """Constructs a PEB object""" if constants.BANG not in self.vol.type_name: @@ -788,7 +787,6 @@ class EPROCESS(generic.GenericIntelProcess, pool.ExecutiveObject): ) return peb - @functools.lru_cache def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]: """Constructs a PEB32 object""" if constants.BANG not in self.vol.type_name: