mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-07 10:17:38 +02:00
Mac tasks: Swap the shortcircuiting order
This commit is contained in:
@@ -54,9 +54,6 @@ class Tasks(pslist.PsList):
|
||||
proc = task.bsd_info.dereference().cast("proc")
|
||||
except exceptions.PagedInvalidAddressException:
|
||||
continue
|
||||
|
||||
if not filter_func(proc) and kernel_as.is_valid(proc.vol.offset, proc.vol.size):
|
||||
|
||||
if kernel_as.is_valid(proc.vol.offset, proc.vol.size) and not filter_func(proc):
|
||||
yield proc
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user