From 33542bda8ee6d0a75c89522daf1c20d580894a01 Mon Sep 17 00:00:00 2001 From: jakob Date: Tue, 12 Sep 2017 15:30:25 -0400 Subject: Initial unit testing --- hypodermic/main.py | 1 - hypodermic/memory.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'hypodermic') diff --git a/hypodermic/main.py b/hypodermic/main.py index 3cbb047..7a671f6 100644 --- a/hypodermic/main.py +++ b/hypodermic/main.py @@ -111,5 +111,4 @@ def main(): else: alert("Attaching to process with pid {}...".format(args.attach)) p = Process(pid=args.attach) - print(p.dlopen("/usr/lib/libyggdrasil.so")) p.continue_until_haulted() diff --git a/hypodermic/memory.py b/hypodermic/memory.py index 0d86855..56a3fc3 100644 --- a/hypodermic/memory.py +++ b/hypodermic/memory.py @@ -48,7 +48,7 @@ def parse_device(line: str) -> Device: The parsed Device object. """ major, minor = line.split(':') - return Device(major, minor) + return Device(int(major), int(minor)) def parse_perms(line: str) -> Perms: -- cgit v1.3