diff --git a/volatility/framework/automagic/windows.py b/volatility/framework/automagic/windows.py index 2ff74b014..e2b4c1a03 100644 --- a/volatility/framework/automagic/windows.py +++ b/volatility/framework/automagic/windows.py @@ -236,7 +236,7 @@ class WintelHelper(interfaces.automagic.AutomagicInterface): and both determines the directory table base of an intel layer if one hasn't been specified, and constructs the intel layer if necessary (for example when reconstructing a pre-existing configuration). - It will scan for existing TranslationLayers that do not have a DTB using the :class:`PageMapScanner""" + It will scan for existing TranslationLayers that do not have a DTB using the :class:`PageMapScanner`""" priority = 20 tests = [DtbTest32bit(), DtbTest64bit(), DtbTestPae()] diff --git a/volatility/framework/interfaces/symbols.py b/volatility/framework/interfaces/symbols.py index 0fc5df9ad..63fdd2935 100644 --- a/volatility/framework/interfaces/symbols.py +++ b/volatility/framework/interfaces/symbols.py @@ -6,10 +6,7 @@ import typing from abc import abstractmethod from volatility.framework import constants, exceptions, validity -from volatility.framework.interfaces import configuration, objects - -if typing.TYPE_CHECKING: - from volatility.framework import interfaces +from volatility.framework.interfaces import configuration, objects, context as interfaces_context class Symbol(validity.ValidityRoutines): @@ -222,14 +219,14 @@ class SymbolTableInterface(BaseSymbolTableInterface, configuration.ConfigurableI """Handles a table of symbols""" def __init__(self, - context: 'interfaces.context.ContextInterface', + context: 'interfaces_context.ContextInterface', config_path: str, name: str, native_types: 'NativeTableInterface' = None) -> None: configuration.ConfigurableInterface.__init__(self, context, config_path) BaseSymbolTableInterface.__init__(self, name, native_types) - def build_configuration(self) -> 'interfaces.configuration.HierarchicalDict': + def build_configuration(self) -> 'configuration.HierarchicalDict': config = super().build_configuration() # Translation Layers are constructable, and therefore require a class configuration variable diff --git a/volatility/framework/renderers/format_hints.py b/volatility/framework/renderers/format_hints.py index cc2a90390..651091221 100644 --- a/volatility/framework/renderers/format_hints.py +++ b/volatility/framework/renderers/format_hints.py @@ -1,10 +1,11 @@ """The official list of format hints that text renderers and plugins can rely upon existing within the framework -These hints allow a plugin to indicate how they'd like a particular column's data to be represented. +These hints allow a plugin to indicate how they would like data from a particular column to be represented. Text renderers should attempt to honour all hints provided in this module where possible """ + class Bin(int): """A class to indicate that the integer value should be represented as a binary value"""