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

Commit 69e0243

Browse files
committed
Mac - better filter for the main apps vnode
1 parent 7c0e805 commit 69e0243

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

volatility/plugins/overlays/mac/mac.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ def text_start(self):
10411041
for map in self.get_proc_maps():
10421042
vnode = map.get_vnode()
10431043

1044-
if vnode and vnode != "sub_map" and vnode.v() == wanted_vnode:
1044+
if vnode and vnode != "sub_map" and vnode.v() == wanted_vnode and map.get_perms() == "r-x":
10451045
text_start = map.start.v()
10461046
break
10471047

0 commit comments

Comments
 (0)