summaryrefslogtreecommitdiff
path: root/hypodermic
diff options
context:
space:
mode:
Diffstat (limited to 'hypodermic')
-rw-r--r--hypodermic/main.py1
-rw-r--r--hypodermic/memory.py2
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: