]> git.saurik.com Git - cycript.git/blobdiff - Mach/Inject.cpp
Upgrade ios.sh build to use the new libffi package.
[cycript.git] / Mach / Inject.cpp
index 29d1848664645e18c4b8be328c85d5bfd60ff764..4c0b1bbf0f2094215bb3072aec14c2fe74c43ad2 100644 (file)
@@ -47,6 +47,10 @@ void InjectLibrary(pid_t pid) {
     Baton *baton(reinterpret_cast<Baton *>(local));
 
     baton->__pthread_set_self = &__pthread_set_self;
+    baton->pthread_create = &pthread_create;
+
+    baton->mach_thread_self = &mach_thread_self;
+    baton->thread_terminate = &thread_terminate;
 
     baton->dlerror = &dlerror;
     baton->dlsym = &dlsym;