mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 05:24:52 +02:00
Make sure we don't assume that the primary layer's config lives under our own.
This commit is contained in:
@@ -29,7 +29,7 @@ class PsList(interfaces_plugins.PluginInterface):
|
||||
def list_tasks(self):
|
||||
"""Lists all the tasks in the primary layer"""
|
||||
|
||||
layer_name = self.config['primary.memory_layer']
|
||||
layer_name = self.context.memory[self.config['primary']].config['memory_layer']
|
||||
|
||||
_, aslr_shift = linux.LinuxUtilities.find_aslr(self.context, self.config["vmlinux"], layer_name)
|
||||
vmlinux = self.context.module(self.config["vmlinux"], self.config["primary"], aslr_shift)
|
||||
|
||||
Reference in New Issue
Block a user