Skip to content

Commit b1c1645

Browse files
committed
volshell: inform user that value displayed is only an offset for types like embedded structs
1 parent bb2f28a commit b1c1645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

volatility3/cli/volshell/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def _display_value(self, value: Any) -> str:
622622
elif isinstance(value, objects.Array):
623623
return repr([self._display_value(val) for val in value])
624624
else:
625-
return hex(value.vol.offset)
625+
return f"offset: {hex(value.vol.offset)}"
626626
else:
627627
# non volobject
628628
if value is None:

0 commit comments

Comments
 (0)