x86 and x86_64 do not have AdjustThreadVisibilityCounter

This commit is contained in:
LoveSy 2023-01-06 22:01:05 +08:00
parent 845ec5dc40
commit bdc1e6f8a7
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -134,8 +134,10 @@ public:
int sdk_int = GetAndroidApiLevel();
if (sdk_int >= __ANDROID_API_R__) {
// fixup static trampoline may have been inlined
HookSyms(handler, AdjustThreadVisibilityCounter);
if constexpr (GetArch() != Arch::kX86 && GetArch() != Arch::kX8664) {
// fixup static trampoline may have been inlined
HookSyms(handler, AdjustThreadVisibilityCounter);
}
}
if (!RETRIEVE_MEM_FUNC_SYMBOL(

@ -1 +1 @@
Subproject commit 33c8b50ac7d2498c0db8fe2c6e4273dabc82de75
Subproject commit 6022a5c25402a928c1ad25d23d17590060507817