mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 04:37:38 +02:00
Refactor all references to Context.memory to Context.layers.
This commit is contained in:
@@ -104,7 +104,7 @@ class ObjectInterface(metaclass = ABCMeta):
|
||||
#
|
||||
|
||||
# Normalize offsets
|
||||
mask = context.memory[object_info.layer_name].address_mask
|
||||
mask = context.layers[object_info.layer_name].address_mask
|
||||
normalized_offset = object_info.offset & mask
|
||||
|
||||
self._vol = collections.ChainMap({}, object_info, {'type_name': type_name, 'offset': normalized_offset}, kwargs)
|
||||
|
||||
Reference in New Issue
Block a user