From db8667f88abec074f3165ecfd04219e7ef72fbd1 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Wed, 23 Oct 2024 08:55:44 +1100 Subject: [PATCH] Linux - Fix hlist_head object extension by dropping the iterator since it can't determine the correct member_name --- volatility3/framework/symbols/linux/extensions/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/volatility3/framework/symbols/linux/extensions/__init__.py b/volatility3/framework/symbols/linux/extensions/__init__.py index 4b1df2a0b..acf78278b 100644 --- a/volatility3/framework/symbols/linux/extensions/__init__.py +++ b/volatility3/framework/symbols/linux/extensions/__init__.py @@ -994,9 +994,6 @@ class hlist_head(objects.StructType, collections.abc.Iterable): current = current.next - def __iter__(self) -> Iterator[interfaces.objects.ObjectInterface]: - return self.to_list(self.vol.parent.vol.type_name, self.vol.member_name) - class files_struct(objects.StructType): def get_fds(self) -> interfaces.objects.ObjectInterface: