mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-28 10:49:42 +02:00
Match the abstract property of the interface.
This commit is contained in:
@@ -12,7 +12,6 @@ from volatility.framework import interfaces, exceptions
|
||||
|
||||
class Intel(interfaces.layers.TranslationLayerInterface):
|
||||
"""Translation Layer for the Intel IA32 memory mapping"""
|
||||
minimum_address = 0
|
||||
|
||||
def __init__(self, context, name, memory_layer, page_map_offset):
|
||||
interfaces.layers.TranslationLayerInterface.__init__(self, context, name)
|
||||
@@ -30,6 +29,10 @@ class Intel(interfaces.layers.TranslationLayerInterface):
|
||||
self._structure = [('page directory', 10, False),
|
||||
('page table', 10, True)]
|
||||
|
||||
@property
|
||||
def minimum_address(self):
|
||||
return 0
|
||||
|
||||
@property
|
||||
def maximum_address(self):
|
||||
return (2 ** self._maxvirtaddr) - 1
|
||||
|
||||
Reference in New Issue
Block a user