diff --git a/volatility/plugins/overlays/linux/linux.py b/volatility/plugins/overlays/linux/linux.py index 3b9e53d68..eb19d3446 100644 --- a/volatility/plugins/overlays/linux/linux.py +++ b/volatility/plugins/overlays/linux/linux.py @@ -1417,7 +1417,8 @@ def ldrmodules(self): def plt_hook_info(self): elfs = dict() - + task_proc_maps = list(self.get_proc_maps()) + for elf, elf_start, elf_end, soname, needed in self.elfs(): elfs[(self, soname)] = (elf, elf_start, elf_end, needed) @@ -1471,7 +1472,7 @@ def plt_hook_info(self): hookdesc = '' vma = None - for i in task.get_proc_maps(): + for i in task_proc_maps: if addr >= i.vm_start and addr < i.vm_end: vma = i break