From e222b069ef3afc8c8d52da18c67e0d4d9cdfacdb Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Mon, 3 Feb 2025 07:50:21 +1100 Subject: [PATCH] linux: module extension object: add typing info to _get_sect_count() --- 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 cd7dc5e9d..de08ecf50 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -176,7 +176,7 @@ class module(generic.GenericIntelProcess): """Get the name of the module as a string""" return utility.array_to_string(self.name) - def _get_sect_count(self, grp) -> int: + def _get_sect_count(self, grp: interfaces.objects.ObjectInterface) -> int: """Try to determine the number of valid sections""" symbol_table_name = self.get_symbol_table_name() arr = self._context.object(