From 797d7bba1296a34fc0fc8a16ddcf5703eb2e39f7 Mon Sep 17 00:00:00 2001 From: opa334 Date: Thu, 19 Dec 2024 21:19:14 +0100 Subject: [PATCH] Fix comments being wrong --- BaseBin/forkfix/src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BaseBin/forkfix/src/main.c b/BaseBin/forkfix/src/main.c index a3d126cf0..114cd1cd1 100644 --- a/BaseBin/forkfix/src/main.c +++ b/BaseBin/forkfix/src/main.c @@ -137,8 +137,8 @@ __attribute__((constructor)) static void initializer(void) else { void *systemhookHandle = dlopen("systemhook.dylib", RTLD_NOLOAD); if (systemhookHandle) { - // On iOS 15 arm64e, instead of using instruction replacements, rebind __fork instead - // Less instruction replacements = Less spinlock panics + // On iOS 15 arm64e, instead of using instruction replacements, rebind everything that calls __fork instead + // Less instruction replacements = Less spinlock panics (DO NOT QUOTE ME ON THIS) kern_return_t (*litehook_rebind_symbol_globally)(void *source, void *target) = dlsym(systemhookHandle, "litehook_rebind_symbol_globally"); if (litehook_rebind_symbol_globally) { litehook_rebind_symbol_globally((void *)fork, (void *)fork_hook);