mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-03 08:18:52 +02:00
Adjust framework versioning
This commit is contained in:
@@ -50,6 +50,9 @@ class MountInfo(plugins.PluginInterface):
|
||||
requirements.PluginRequirement(
|
||||
name="pslist", plugin=pslist.PsList, version=(2, 0, 0)
|
||||
),
|
||||
requirements.VersionRequirement(
|
||||
name="linuxutils", component=linux.LinuxUtilities, version=(2, 1, 0)
|
||||
),
|
||||
requirements.ListRequirement(
|
||||
name="pids",
|
||||
description="Filter on specific process IDs.",
|
||||
@@ -86,7 +89,7 @@ class MountInfo(plugins.PluginInterface):
|
||||
if not mnt_root:
|
||||
return None
|
||||
|
||||
path_root = linux.LinuxUtilities._get_path_mnt(task, mnt)
|
||||
path_root = linux.LinuxUtilities.get_path_mnt(task, mnt)
|
||||
if not path_root:
|
||||
return None
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable):
|
||||
class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
"""Class with multiple useful linux functions."""
|
||||
|
||||
_version = (2, 0, 0)
|
||||
_version = (2, 1, 0)
|
||||
_required_framework_version = (2, 0, 0)
|
||||
|
||||
framework.require_interface_version(*_required_framework_version)
|
||||
@@ -79,7 +79,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
return cls.do_get_path(rdentry, rmnt, dentry, vfsmnt)
|
||||
|
||||
@classmethod
|
||||
def _get_path_mnt(cls, task, mnt) -> str:
|
||||
def get_path_mnt(cls, task, mnt) -> str:
|
||||
"""Returns the mount point pathname relative to the task's root directory.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user