Skip to content

Commit

Permalink
Merge pull request volatilityfoundation#1274 from volatilityfoundatio…
Browse files Browse the repository at this point in the history
…n/issues/issue1119

Ensure the class for Modules is stored in the configruation
  • Loading branch information
ikelos authored Oct 6, 2024
2 parents 4149c55 + d38a69f commit c13c76c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions volatility3/framework/interfaces/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ def build_configuration(self) -> "interfaces.configuration.HierarchicalDict":
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[
Expand Down

0 comments on commit c13c76c

Please sign in to comment.