| 488 | } |
| 489 | |
| 490 | void postSpecialize(const char *process) { |
| 491 | // Unhook PLT hooks |
| 492 | if (ar_unshare) { |
| 493 | api->pltHookRegister(rundev, runinode, "unshare", (void*) ar_unshare, nullptr); |
| 494 | ar_unshare = nullptr; // Clear pointer |
| 495 | } |
| 496 | api->pltHookCommit(); |
| 497 | //close(cfd); |
| 498 | api->setOption(zygisk::Option::DLCLOSE_MODULE_LIBRARY); |
| 499 | } |
| 500 | |
| 501 | }; |
| 502 |
nothing calls this directly
no test coverage detected