mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-02 14:28:58 +02:00
Data layer interface: Convert address_mask to a cached property
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user