Lots and lots of typing additions found by an initial monkeytype run.

This commit is contained in:
Mike Auty
2018-12-13 23:46:37 +00:00
parent 2c72439334
commit dfe2f86fe2
25 changed files with 81 additions and 51 deletions
+3 -2
View File
@@ -4,8 +4,9 @@ typically found in Linux's /proc file system.
import datetime
import struct
import typing
from volatility.framework import constants, renderers, symbols
from volatility.framework import constants, renderers, symbols, interfaces
from volatility.framework.configuration import requirements
from volatility.framework.interfaces import plugins
from volatility.framework.layers import scanners
@@ -19,7 +20,7 @@ class Bash(plugins.PluginInterface, timeliner.TimeLinerInterface):
"""Recovers bash command history from memory"""
@classmethod
def get_requirements(cls):
def get_requirements(cls) -> typing.List[interfaces.configuration.RequirementInterface]:
return [requirements.TranslationLayerRequirement(name = 'primary',
description = 'Kernel Address Space',
architectures = ["Intel32", "Intel64"]),