mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-08 02:37:39 +02:00
linux: intel VMCoreInfo: The _direct_metadata class attribute needs to be modified; otherwise, it will only exist within the instance namespace.
This commit is contained in:
@@ -379,8 +379,8 @@ class LinuxIntelVMCOREINFOStacker(interfaces.automagic.StackerLayerInterface):
|
||||
aslr_shift,
|
||||
dtb,
|
||||
)
|
||||
# Add the vmcoreinfo dict to the layer metadata
|
||||
layer._direct_metadata = collections.ChainMap(
|
||||
# Add the vmcoreinfo dict to the layer class metadata
|
||||
layer.__class__._direct_metadata = collections.ChainMap(
|
||||
{"vmcoreinfo": vmcoreinfo}, layer._direct_metadata
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user