mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Check that mount type exists before appling type
This commit is contained in:
@@ -28,9 +28,11 @@ class LinuxKernelIntermedSymbols(intermed.IntermediateSymbolTable):
|
||||
self.set_type_class('fs_struct', extensions.fs_struct)
|
||||
self.set_type_class('files_struct', extensions.files_struct)
|
||||
self.set_type_class('vfsmount', extensions.vfsmount)
|
||||
self.set_type_class('mount', extensions.mount)
|
||||
self.set_type_class('module', extensions.module)
|
||||
|
||||
if 'mount' in self.types:
|
||||
self.set_type_class('mount', extensions.mount)
|
||||
|
||||
@classmethod
|
||||
def get_requirements(cls) -> typing.List[interfaces.configuration.RequirementInterface]:
|
||||
return [requirements.StringRequirement("isf_url",
|
||||
|
||||
Reference in New Issue
Block a user