mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 09:47:38 +02:00
Linux: Update linux.vmayarascan to use task.mm.get_vma_iter() which means it will work on linux kernels 6.1 and above
This commit is contained in:
@@ -96,7 +96,7 @@ class VmaYaraScan(interfaces.plugins.PluginInterface):
|
||||
An iterable of tuples containing start and end addresses for each descriptor
|
||||
"""
|
||||
if task.mm:
|
||||
for vma in task.mm.get_mmap_iter():
|
||||
for vma in task.mm.get_vma_iter():
|
||||
vm_size = vma.vm_end - vma.vm_start
|
||||
yield (vma.vm_start, vm_size)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user