From e9e80035ebdfc6a7c2261a514532d84bd572611a Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sat, 4 Sep 2021 15:28:57 +0100 Subject: [PATCH] Linux: Fixes after the pslist kernel req change --- volatility3/framework/plugins/linux/malfind.py | 2 +- volatility3/framework/plugins/linux/pstree.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/plugins/linux/malfind.py b/volatility3/framework/plugins/linux/malfind.py index fcfd68855..4587dca84 100644 --- a/volatility3/framework/plugins/linux/malfind.py +++ b/volatility3/framework/plugins/linux/malfind.py @@ -74,5 +74,5 @@ class Malfind(interfaces.plugins.PluginInterface): ("Disasm", interfaces.renderers.Disassembly)], self._generator( pslist.PsList.list_tasks(self.context, - self.config['vmlinux'], + self.config['kernel'], filter_func = filter_func))) diff --git a/volatility3/framework/plugins/linux/pstree.py b/volatility3/framework/plugins/linux/pstree.py index 9b24c27f7..3b95a344c 100644 --- a/volatility3/framework/plugins/linux/pstree.py +++ b/volatility3/framework/plugins/linux/pstree.py @@ -35,7 +35,7 @@ class PsTree(pslist.PsList): def _generator(self): """Generates the.""" vmlinux = self.context.modules[self.config['kernel']] - for proc in self.list_tasks(self.context, vmlinux.layer_name, vmlinux.symbol_table_name): + for proc in self.list_tasks(self.context, vmlinux.name): self._processes[proc.pid] = proc # Build the child/level maps