mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Add: argument type for _generator
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
|
||||
import logging
|
||||
from typing import Iterator, List, Tuple
|
||||
from typing import Generator, Iterator, List, Tuple
|
||||
|
||||
from volatility3.framework import interfaces, renderers
|
||||
from volatility3.framework.configuration import requirements
|
||||
@@ -33,7 +33,7 @@ class VadWalk(interfaces.plugins.PluginInterface):
|
||||
optional = True)
|
||||
]
|
||||
|
||||
def _generator(self, procs) -> Iterator[Tuple]:
|
||||
def _generator(self, procs: Generator[interfaces.objects.ObjectInterface, None, None]) -> Iterator[Tuple]:
|
||||
for proc in procs:
|
||||
for vad in vadinfo.VadInfo.list_vads(proc):
|
||||
if(vad):
|
||||
|
||||
Reference in New Issue
Block a user