diff --git a/native/src/external/lsplt b/native/src/external/lsplt index 772a1b168..204a16368 160000 --- a/native/src/external/lsplt +++ b/native/src/external/lsplt @@ -1 +1 @@ -Subproject commit 772a1b168cb6feaea8e8021309f1fce942e2fa49 +Subproject commit 204a1636884d397617101e2bae3a78dd3febb163 diff --git a/native/src/zygisk/hook.cpp b/native/src/zygisk/hook.cpp index 30d2b1892..cbb555507 100644 --- a/native/src/zygisk/hook.cpp +++ b/native/src/zygisk/hook.cpp @@ -368,6 +368,7 @@ bool ZygiskModule::RegisterModuleImpl(ApiTable *api, long *module) { api->v2.getFlags = [](auto) { return ZygiskModule::getFlags(); }; } if (api_version >= 4) { + api->v4.pltHookCommit = lsplt::CommitHook; api->v4.pltHookRegister = [](dev_t dev, ino_t inode, const char *symbol, void *fn, void **backup) { if (dev == 0 || inode == 0 || symbol == nullptr || fn == nullptr) return;