mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-24 23:22:23 +02:00
Merge pull request #1274 from volatilityfoundation/issues/issue1119
Ensure the class for Modules is stored in the configruation
This commit is contained in:
@@ -191,6 +191,9 @@ class ModuleInterface(interfaces.configuration.ConfigurableInterface):
|
||||
self._native_layer_name
|
||||
].build_configuration()
|
||||
|
||||
# Modules are constructable, and therefore require a class configuration variable
|
||||
config["class"] = self.__class__.__module__ + "." + self.__class__.__name__
|
||||
|
||||
for subconfig in subconfigs:
|
||||
for req in subconfigs[subconfig]:
|
||||
config[interfaces.configuration.path_join(subconfig, req)] = subconfigs[
|
||||
|
||||
Reference in New Issue
Block a user