mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-30 21:44:52 +02:00
Revert change in _get_type_name_with_pointer as this stopped the pointer marker being calculated correctly
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user