mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
linkernsbypass ran its libdl walk from a load-time constructor, so every System.loadLibrary of the compositor library executed it. On Android 17 Pixel builds the branch target sits on a guarded page that was never unprotected (the second mprotect received the local variable's address), and the indirect call raised SIGILL before any session could start. Resolution now happens once from linkernsbypass_load_status(), the scan is bounded, the target page itself is unprotected, and a page that cannot be unprotected makes the bypass report failure instead of being called. libhook_impl checks the status before using the namespace calls.