mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-27 03:54:49 +02:00
Renamed get_vmlinux_from_volobj() to get_module_from_volobj_type()
This commit is contained in:
@@ -152,7 +152,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
"""
|
||||
dentry = filp.get_dentry()
|
||||
|
||||
kernel_module = cls.get_vmlinux_from_volobj(context, dentry)
|
||||
kernel_module = cls.get_module_from_volobj_type(context, dentry)
|
||||
|
||||
sym_addr = dentry.d_op.d_dname
|
||||
symbs = list(kernel_module.get_symbols_by_absolute_location(sym_addr))
|
||||
@@ -380,7 +380,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def get_vmlinux_from_volobj(
|
||||
def get_module_from_volobj_type(
|
||||
cls,
|
||||
context: interfaces.context.ContextInterface,
|
||||
volobj: interfaces.objects.ObjectInterface,
|
||||
|
||||
@@ -890,7 +890,7 @@ class vfsmount(objects.StructType):
|
||||
Returns:
|
||||
mount: the struct 'mount' containing this 'vfsmount'.
|
||||
"""
|
||||
vmlinux = linux.LinuxUtilities.get_vmlinux_from_volobj(self._context, self)
|
||||
vmlinux = linux.LinuxUtilities.get_module_from_volobj_type(self._context, self)
|
||||
return linux.LinuxUtilities.container_of(
|
||||
self.vol.offset, "mount", "mnt", vmlinux
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user