diff options
Diffstat (limited to 'hypodermic/ptrace.py')
| -rw-r--r-- | hypodermic/ptrace.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hypodermic/ptrace.py b/hypodermic/ptrace.py index f54d982..c77fb8e 100644 --- a/hypodermic/ptrace.py +++ b/hypodermic/ptrace.py @@ -20,6 +20,8 @@ import ctypes import os.path +from hypodermic.memory import maps + class Process(object): """Process attached via ptrace. @@ -99,3 +101,7 @@ class Process(object): """ if self._cont(ctypes.c_int(self.pid)): raise OSError("Could not continue") + + @property + def maps(self): + return maps(self.pid) |