mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-08 18:57:38 +02:00
PR review fixes: pidhashtable plugin add missing typing.
This commit is contained in:
@@ -49,7 +49,7 @@ class PIDHashTable(plugins.PluginInterface):
|
||||
self.vmlinux = None
|
||||
self.vmlinux_layer = None
|
||||
|
||||
def _is_valid_task(self, task):
|
||||
def _is_valid_task(self, task) -> bool:
|
||||
return bool(task and task.pid > 0 and self.vmlinux_layer.is_valid(task.parent))
|
||||
|
||||
def _get_pidtype_pid(self):
|
||||
|
||||
Reference in New Issue
Block a user