]> git.saurik.com Git - cycript.git/commitdiff
Remove debugging garbage from Mach/Inject.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 2 May 2010 09:56:42 +0000 (09:56 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 2 May 2010 09:56:42 +0000 (09:56 +0000)
Mach/Inject.cpp

index 6b14c3ac1c5a76b79e88a2b0b36be7b2b73d0837..765a4ab6f37e41d23355206851d22b5694ef9316 100644 (file)
@@ -126,9 +126,11 @@ void InjectLibrary(pid_t pid) {
     vm_write(task, code, reinterpret_cast<vm_address_t>(trampoline->data_), trampoline->size_);
     _krncall(vm_protect(task, code, trampoline->size_, false, VM_PROT_READ | VM_PROT_EXECUTE));
 
+    /*
     printf("_ptss:%p\n", baton->__pthread_set_self);
     printf("dlsym:%p\n", baton->dlsym);
     printf("code:%zx\n", (size_t) code);
+    */
 
     uint32_t frame[push];
     if (sizeof(frame) != 0)