Commit 42dbec38 authored by Luke Macken's avatar Luke Macken

Simply import pyrasite from our main module

parent a2d893d8
...@@ -19,7 +19,7 @@ import os ...@@ -19,7 +19,7 @@ import os
import sys import sys
import argparse import argparse
from inject import CodeInjector import pyrasite
def main(): def main():
...@@ -58,8 +58,8 @@ def main(): ...@@ -58,8 +58,8 @@ def main():
print("Error: The second argument must be a filename") print("Error: The second argument must be a filename")
sys.exit(4) sys.exit(4)
injector = CodeInjector(pid, verbose=args.verbose, injector = pyrasite.CodeInjector(pid, verbose=args.verbose,
gdb_prefix=args.gdb_prefix) gdb_prefix=args.gdb_prefix)
injector.inject(filename) injector.inject(filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment