mirror of
https://github.com/volatilityfoundation/volatility
synced 2026-06-08 18:04:46 +00:00
Mac - fix dump_maps
This commit is contained in:
@@ -45,7 +45,7 @@ class mac_dump_maps(proc_maps.mac_proc_maps):
|
||||
|
||||
size = 0
|
||||
for proc, map in data:
|
||||
if not map_address or map_address == start:
|
||||
if not map_address or map_address == map.links.start:
|
||||
for page in self._read_addr_range(proc, map.links.start, map.links.end):
|
||||
size += len(page)
|
||||
outfile.write(page)
|
||||
@@ -62,4 +62,4 @@ class mac_dump_maps(proc_maps.mac_proc_maps):
|
||||
while start < end:
|
||||
page = proc_as.zread(start, pagesize)
|
||||
yield page
|
||||
start = start + pagesize
|
||||
start = start + pagesize
|
||||
|
||||
Reference in New Issue
Block a user