You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
fix: checking if find_containing_library exists and error'ing
This commit fixes the typo where ReZygisk would check if a function exists in linker, and if it did, not proceed instead of proceeding. closes #184
This commit is contained in:
@@ -121,7 +121,7 @@ static bool solist_init() {
|
|||||||
LOGD("%p is soinfo_free", (void *)soinfo_free);
|
LOGD("%p is soinfo_free", (void *)soinfo_free);
|
||||||
|
|
||||||
find_containing_library = (SoInfo *(*)(const void *))getSymbAddress(linker, "__dl__Z23find_containing_libraryPKv");
|
find_containing_library = (SoInfo *(*)(const void *))getSymbAddress(linker, "__dl__Z23find_containing_libraryPKv");
|
||||||
if (find_containing_library != NULL) {
|
if (find_containing_library == NULL) {
|
||||||
LOGE("Failed to find find_containing_library __dl__Z23find_containing_libraryPKv");
|
LOGE("Failed to find find_containing_library __dl__Z23find_containing_libraryPKv");
|
||||||
|
|
||||||
ElfImg_destroy(linker);
|
ElfImg_destroy(linker);
|
||||||
|
|||||||
Reference in New Issue
Block a user