mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-03 08:18:52 +02:00
Linux: fix bug with iomem plugin where an absolute address is used to make an object but the absolute flag is not set
This commit is contained in:
@@ -16,7 +16,7 @@ class IOMem(interfaces.plugins.PluginInterface):
|
||||
"""Generates an output similar to /proc/iomem on a running system."""
|
||||
|
||||
_required_framework_version = (2, 0, 0)
|
||||
_version = (1, 0, 0)
|
||||
_version = (1, 0, 1)
|
||||
|
||||
@classmethod
|
||||
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
|
||||
@@ -53,7 +53,7 @@ class IOMem(interfaces.plugins.PluginInterface):
|
||||
|
||||
# create the resource object with protection against memory smear
|
||||
try:
|
||||
resource = vmlinux.object("resource", resource_offset)
|
||||
resource = vmlinux.object("resource", resource_offset, absolute=True)
|
||||
except exceptions.InvalidAddressException:
|
||||
vollog.warning(
|
||||
f"Unable to create resource object at {resource_offset:#x}. This resource, "
|
||||
|
||||
Reference in New Issue
Block a user