Skip to content

Commit

Permalink
Merge pull request #4 from appknox/disable-remapper
Browse files Browse the repository at this point in the history
Disable remapper for higher stability
  • Loading branch information
Surendrajat authored Jan 14, 2025
2 parents ccb939c + e5e5199 commit 29767bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/src/jni/inject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void inject_lib(std::string const &lib_path, std::string const &logContext) {
auto *handle = xdl_open(lib_path.c_str(), XDL_TRY_FORCE_LOAD);
if (handle) {
LOGI("%sInjected %s with handle %p", logContext.c_str(), lib_path.c_str(), handle);
remap_lib(lib_path);
/* remap_lib(lib_path); */
return;
}

Expand All @@ -78,7 +78,7 @@ void inject_lib(std::string const &lib_path, std::string const &logContext) {
handle = dlopen(lib_path.c_str(), RTLD_NOW);
if (handle) {
LOGI("%sInjected %s with handle %p (dlopen)", logContext.c_str(), lib_path.c_str(), handle);
remap_lib(lib_path);
/* remap_lib(lib_path); */
return;
}

Expand Down

0 comments on commit 29767bb

Please sign in to comment.