Linux: Fixes after the pslist kernel req change

This commit is contained in:
Mike Auty
2021-09-04 15:28:57 +01:00
parent 5d030263ea
commit e9e80035eb
2 changed files with 2 additions and 2 deletions
@@ -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)))
@@ -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