Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit 73cc683

Browse files
committed
Mac - prevent smeared process memory ranges from being reported
1 parent 019b0f9 commit 73cc683

File tree

1 file changed

+6
-1
lines changed
  • volatility/plugins/overlays/mac

1 file changed

+6
-1
lines changed

volatility/plugins/overlays/mac/mac.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,12 @@ def get_proc_maps(self):
11131113

11141114
if not map:
11151115
break
1116-
yield map
1116+
1117+
map_size = int(map.links.end - map.links.start)
1118+
1119+
if 4095 < map_size < 0x800000000000 and map_size % 4096 == 0:
1120+
yield map
1121+
11171122
map = map.links.next
11181123

11191124
def find_heap_map(self):

0 commit comments

Comments
 (0)