Match the abstract property of the interface.

This commit is contained in:
Mike Auty
2015-01-04 21:21:34 +00:00
parent 2d98b94605
commit 44a375e720
+4 -1
View File
@@ -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