diff options
| author | jakob <jakob@memeware.net> | 2017-09-12 15:30:25 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-09-12 15:30:25 -0400 |
| commit | 33542bda8ee6d0a75c89522daf1c20d580894a01 (patch) | |
| tree | 436cda677fb172fc95025bcd2bdb0108b9f27c29 /hypodermic | |
| parent | d801868006f94acc6e3313332c55331710171172 (diff) | |
Initial unit testing
Diffstat (limited to 'hypodermic')
| -rw-r--r-- | hypodermic/main.py | 1 | ||||
| -rw-r--r-- | hypodermic/memory.py | 2 |
2 files changed, 1 insertions, 2 deletions
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: |