Skip to content

Commit

Permalink
Linux: fix bug with iomem plugin where an absolute address is used to…
Browse files Browse the repository at this point in the history
… make an object but the absolute flag is not set
  • Loading branch information
eve-mem committed Nov 29, 2023
1 parent 4ce42fc commit 099403d
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 099403d

Please sign in to comment.