From d648bd908dcb220a1c7d22aaaa380c060c077a06 Mon Sep 17 00:00:00 2001 From: eve Date: Fri, 28 Mar 2025 13:07:26 +0000 Subject: [PATCH] Revert change in _get_type_name_with_pointer as this stopped the pointer marker being calculated correctly --- volatility3/cli/volshell/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility3/cli/volshell/generic.py b/volatility3/cli/volshell/generic.py index cc8027ddd..4ebda12a2 100644 --- a/volatility3/cli/volshell/generic.py +++ b/volatility3/cli/volshell/generic.py @@ -399,7 +399,7 @@ class Volshell(interfaces.plugins.PluginInterface): a pointer otherwise it returns just the normal type name.""" pointer_marker = "*" * depth try: - if isinstance(member_type, objects.Pointer): + if member_type.vol.object_class == objects.Pointer: sub_member_type = member_type.vol.subtype # follow at most MAX_DEREFERENCE_COUNT pointers. A guard against, hopefully unlikely, infinite loops if depth < MAX_DEREFERENCE_COUNT: