Skip to content

Commit 03e7506

Browse files
committed
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.
1 parent c48ad90 commit 03e7506

File tree

1 file changed

+0
-2
lines changed
  • volatility3/framework/symbols/windows/extensions

1 file changed

+0
-2
lines changed

volatility3/framework/symbols/windows/extensions/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,6 @@ def add_process_layer(
762762
self._context, dtb, config_prefix, preferred_name
763763
)
764764

765-
@functools.lru_cache
766765
def get_peb(self) -> interfaces.objects.ObjectInterface:
767766
"""Constructs a PEB object"""
768767
if constants.BANG not in self.vol.type_name:
@@ -788,7 +787,6 @@ def get_peb(self) -> interfaces.objects.ObjectInterface:
788787
)
789788
return peb
790789

791-
@functools.lru_cache
792790
def get_peb32(self) -> Optional[interfaces.objects.ObjectInterface]:
793791
"""Constructs a PEB32 object"""
794792
if constants.BANG not in self.vol.type_name:

0 commit comments

Comments
 (0)