mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 04:37:38 +02:00
Volshell: display if embedded struct offest is unreadable in dt output
This commit is contained in:
@@ -622,7 +622,12 @@ class Volshell(interfaces.plugins.PluginInterface):
|
||||
elif isinstance(value, objects.Array):
|
||||
return repr([self._display_value(val) for val in value])
|
||||
else:
|
||||
return f"offset: {hex(value.vol.offset)}"
|
||||
if self.context.layers[self.current_layer].is_valid(
|
||||
value.vol.offset
|
||||
):
|
||||
return f"offset: {hex(value.vol.offset)}"
|
||||
else:
|
||||
return f"offset: {hex(value.vol.offset)} (unreadable)"
|
||||
else:
|
||||
# non volobject
|
||||
if value is None:
|
||||
|
||||
Reference in New Issue
Block a user