From 63d2c26e69abd557b91f2fcfbe8fdd973fdb78e4 Mon Sep 17 00:00:00 2001 From: chinosk <2248589280@qq.com> Date: Thu, 23 May 2024 21:40:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=AE=E5=A4=8D=E4=BA=86?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8=E5=B4=A9=E6=BA=83=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=90=8E=E7=9C=9F=E6=9C=BA=E5=B4=A9=E6=BA=83=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20wssb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp b/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp index 3bb6631..9cd69c7 100644 --- a/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp +++ b/app/src/main/cpp/deps/UnityResolve/UnityResolve.hpp @@ -529,6 +529,9 @@ public: auto xdlAddr = xdl_sym(hmodule_, funcName.c_str(), NULL); if (!xdlAddr) { address_[funcName] = dlsym(hmodule_, funcName.c_str()); + } + else { + address_[funcName] = xdlAddr; } } #endif