This commit is contained in:
LoveSy 2021-07-16 23:18:10 +08:00 committed by GitHub
parent 1937365b38
commit 1023e0e6ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -67,9 +67,9 @@ namespace lspd {
void InitSymbolCache() {
if (UNLIKELY(sym_initialized)) return;
LOGD("InitSymbolCache");
sym_initialized =
FindLibArt() && (sym_do_dlopen = SandHook::ElfImg("linker").getSymbAddress<void *>(
"__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv"));
sym_initialized = FindLibArt();
sym_do_dlopen = SandHook::ElfImg("linker").getSymbAddress<void *>(
"__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv");
if (UNLIKELY(!sym_initialized)) {
sym_initialized = false;
art_img.reset();