From b09859668751c992be2065d60ebe2220cb4d93cc Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 30 Oct 2024 19:50:13 +1100 Subject: [PATCH] Linux: module extension object: Add type annotation to the mod_mem_type property --- volatility3/framework/symbols/linux/extensions/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 7dce16267..fe3c7af49 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -32,7 +32,7 @@ vollog = logging.getLogger(__name__) class module(generic.GenericIntelProcess): @functools.cached_property - def mod_mem_type(self): + def mod_mem_type(self) -> Dict: """Return the mod_mem_type enum choices if available or an empty dict if not""" # mod_mem_type and module_memory were added in kernel 6.4 which replaces # module_layout for storing the information around core_layout etc.