From 9ae7c2bb109681bbd8b6cffc5a1f5b7f1dfa71cf Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Thu, 7 Nov 2024 20:28:21 +1100 Subject: [PATCH] Data layer interface: Convert address_mask to a cached property --- volatility3/framework/interfaces/layers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/interfaces/layers.py b/volatility3/framework/interfaces/layers.py index e2a68780a..78687d8d5 100644 --- a/volatility3/framework/interfaces/layers.py +++ b/volatility3/framework/interfaces/layers.py @@ -136,7 +136,7 @@ class DataLayerInterface( def minimum_address(self) -> int: """Returns the minimum valid address of the space.""" - @property + @functools.cached_property def address_mask(self) -> int: """Returns a mask which encapsulates all the active bits of an address for this layer."""