Skip to content

Commit

Permalink
Merge pull request #1051 from eve-mem/linux_iomem_absolute_address_bu…
Browse files Browse the repository at this point in the history
…gfix

Linux: fix bug with iomem plugin due to absolute address misuse
  • Loading branch information
ikelos authored Nov 29, 2023
2 parents b20643d + 099403d commit 292bef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volatility3/framework/plugins/linux/iomem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down Expand Up @@ -53,7 +53,7 @@ def parse_resource(

# 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, "
Expand Down

0 comments on commit 292bef9

Please sign in to comment.