Merge pull request #1641 from volatilityfoundation/1639-broken-use-of-cell_datacount

#1639 - cast big data to _CM_BIG_DATA
This commit is contained in:
ikelos
2025-02-27 20:06:13 +00:00
committed by GitHub
@@ -329,7 +329,7 @@ class CM_KEY_VALUE(objects.StructType):
data = layer.read(self.Data.vol.offset, datalen)
elif layer.hive.Version == 5 and datalen > 0x4000:
# We're bigdata
big_data = layer.get_node(self.Data)
big_data = layer.get_node(self.Data).cast("_CM_BIG_DATA")
# Oddly, we get a list of addresses, at which are addresses, which then point to data blocks
for i in range(big_data.Count):
# The value 4 should actually be unsigned-int.size, but since it's a file format that shouldn't change