From 2b6007857eed64c464f18bd7b3e6904d7d6265a5 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 26 May 2019 20:45:24 +0100 Subject: [PATCH] Fix up type signature of filter_func for windows pslist. --- volatility/framework/plugins/windows/pslist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/framework/plugins/windows/pslist.py b/volatility/framework/plugins/windows/pslist.py index 64bdf68f7..92a439f18 100644 --- a/volatility/framework/plugins/windows/pslist.py +++ b/volatility/framework/plugins/windows/pslist.py @@ -67,7 +67,7 @@ class PsList(plugins.PluginInterface, timeliner.TimeLinerInterface): context: interfaces.context.ContextInterface, layer_name: str, symbol_table: str, - filter_func: Callable[[int], bool] = lambda _: False) -> \ + filter_func: Callable[[interfaces.objects.ObjectInterface], bool] = lambda _: False) -> \ Iterable[interfaces.objects.ObjectInterface]: """Lists all the processes in the primary layer that are in the pid config option"""