improve: SoInfo hiding code compatibility

This commit improves the compatibility of SoInfo hiding code with more Android versions, like Android 16 QPR1 Beta 1 and newer versions, and also reduces complexity of the code.
This commit is contained in:
ThePedroo
2025-06-08 00:31:10 -03:00
parent ec705fb260
commit 34643c794f
6 changed files with 107 additions and 94 deletions

View File

@@ -22,5 +22,7 @@ void entry(void* addr, size_t size, const char* path) {
LOGD("start plt hooking");
hook_functions();
clean_trace(path, 1, 0, false);
void *module_addrs[1] = { addr };
clean_trace(path, module_addrs, 1, 1, 0, false);
}