mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Linux: Fix kmsg plugin
This commit is contained in:
@@ -58,7 +58,7 @@ class ABCKmsg(ABC):
|
||||
self._context = context
|
||||
self._config = config
|
||||
vmlinux = context.modules[self._config['kernel']]
|
||||
self.layer_name = kernel.layer_name # type: ignore
|
||||
self.layer_name = vmlinux.layer_name # type: ignore
|
||||
symbol_table_name = vmlinux.symbol_table_name # type: ignore
|
||||
self.vmlinux = contexts.Module(context, symbol_table_name, self.layer_name, 0) # type: ignore
|
||||
self.long_unsigned_int_size = self.vmlinux.get_type('long unsigned int').size
|
||||
|
||||
Reference in New Issue
Block a user