From ede6bb6dd1002ff259381bd5620a792bd7dcb8b6 Mon Sep 17 00:00:00 2001 From: jakob Date: Tue, 29 Aug 2017 17:34:30 -0400 Subject: Fixed library symbolic link for development tree. --- hypodermic/ptrace.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hypodermic/ptrace.py') 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) -- cgit v1.3