mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 18:27:39 +02:00
don't use BaseBlock.Length for maxaddr
This commit is contained in:
@@ -62,7 +62,9 @@ class RegistryHive(interfaces.layers.TranslationLayerInterface):
|
||||
self._minaddr = 0
|
||||
# If there's no base_block, we don't know how big the address space is
|
||||
# We also don't know the root_cell_offset, so we use a hardcoded value of 0x20
|
||||
self._maxaddr = self._base_block.Length or 0x7fffffff
|
||||
# FIXME: using BaseBlock.Length runs into issues
|
||||
# self._maxaddr = self._base_block.Length or 0x7fffffff
|
||||
self._maxaddr = 0x7fffffff
|
||||
|
||||
@property
|
||||
def hive_offset(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user