mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 19:57:39 +02:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user