mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-31 04:09:40 +02:00
Windows Extensions: Fixes type-hint on list_timers
This method is incorrectly type-hinted as returning a `Tuple` when it should be returning an instance of the `KTIMER` extension class. This leaves the version number as is since it only updates the type-hint, but let me know if that's incorrect and we need to bump it.
This commit is contained in:
@@ -14,7 +14,7 @@ from volatility3.framework import (
|
||||
)
|
||||
from volatility3.framework.configuration import requirements
|
||||
from volatility3.framework.renderers import format_hints
|
||||
from volatility3.framework.symbols.windows import versions
|
||||
from volatility3.framework.symbols.windows import versions, extensions
|
||||
from volatility3.plugins.windows import ssdt, kpcrs
|
||||
|
||||
vollog = logging.getLogger(__name__)
|
||||
@@ -49,7 +49,7 @@ class Timers(interfaces.plugins.PluginInterface):
|
||||
kernel_module_name: str,
|
||||
layer_name: str,
|
||||
symbol_table: str,
|
||||
) -> Iterable[Tuple[str, int, str]]:
|
||||
) -> Iterable[extensions.KTIMER]:
|
||||
"""Lists all kernel timers.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user