mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 11:47:38 +02:00
Ensure VMware fails back to flat with zero region metadata files.
This commit is contained in:
@@ -75,6 +75,8 @@ class VmwareLayer(segmented.SegmentedLayer):
|
||||
offset += 2 + name_len + (indicies_len * index_len) + self._context.symbol_space.get_type(
|
||||
"unsigned int").size
|
||||
|
||||
if tags[("regionsCount", ())][1] == 0:
|
||||
raise ValueError("VMware VMEM is not split into regions")
|
||||
for region in range(tags[("regionsCount", ())][1]):
|
||||
offset = tags[("regionPPN", (region,))][1] * PAGE_SIZE
|
||||
mapped_offset = tags[("regionPageNum", (region,))][1] * PAGE_SIZE
|
||||
|
||||
Reference in New Issue
Block a user