Skip to content

Commit 099403d

Browse files
committed
Linux: fix bug with iomem plugin where an absolute address is used to make an object but the absolute flag is not set
1 parent 4ce42fc commit 099403d

File tree

1 file changed

+2
-2
lines changed
  • volatility3/framework/plugins/linux

1 file changed

+2
-2
lines changed

volatility3/framework/plugins/linux/iomem.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class IOMem(interfaces.plugins.PluginInterface):
1616
"""Generates an output similar to /proc/iomem on a running system."""
1717

1818
_required_framework_version = (2, 0, 0)
19-
_version = (1, 0, 0)
19+
_version = (1, 0, 1)
2020

2121
@classmethod
2222
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
@@ -53,7 +53,7 @@ def parse_resource(
5353

5454
# create the resource object with protection against memory smear
5555
try:
56-
resource = vmlinux.object("resource", resource_offset)
56+
resource = vmlinux.object("resource", resource_offset, absolute=True)
5757
except exceptions.InvalidAddressException:
5858
vollog.warning(
5959
f"Unable to create resource object at {resource_offset:#x}. This resource, "

0 commit comments

Comments
 (0)