diff --git a/.gitmodules b/.gitmodules index b933fa8..315eb5a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "injector"] path = injector - url = https://github.com/kmaork/injector.git + url = https://github.com/kubo/injector diff --git a/MANIFEST.in b/MANIFEST.in index fc616f8..7ad073a 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,4 +2,5 @@ # regardless of the platform where it was built. recursive-include injector *.h recursive-include injector/src *.c +recursive-include injector/src *.S include LICENSE diff --git a/injector b/injector index a558e87..7746c5f 160000 --- a/injector +++ b/injector @@ -1 +1 @@ -Subproject commit a558e878a2a6795835bc1635a92ceeecc7059c35 +Subproject commit 7746c5fea3027efc58311f47078e0fc8f42835b9 diff --git a/setup.py b/setup.py index 6d1c99d..05e7c61 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,7 @@ injector_extension = Extension( 'pyinjector.injector', sources=SOURCES, + extra_objects=[str(INJECTOR_SRC / 'shellcode.S')] if platform == 'linux' else [], include_dirs=[str(INJECTOR_DIR.relative_to(PROJECT_ROOT) / 'include')], export_symbols=['injector_attach', 'injector_inject', 'injector_detach', 'injector_error'], define_macros=[('EM_AARCH64', '183')] # Needed on CentOS for some reason