Remove left over debug messages

This commit is contained in:
Billy Laws 2022-01-11 18:27:48 +00:00
parent 97970e43e0
commit 526ed96751

View file

@ -16,7 +16,6 @@ const HookImplParams *hook_params; //!< Bunch of info needed to load/patch the d
__attribute__((visibility("default"))) void init_hook_param(const void *param) { __attribute__((visibility("default"))) void init_hook_param(const void *param) {
hook_params = reinterpret_cast<const HookImplParams *>(param); hook_params = reinterpret_cast<const HookImplParams *>(param);
LOGI("SET %p", param);
} }
__attribute__((visibility("default"))) void *hook_android_dlopen_ext(const char *filename, int flags, const android_dlextinfo *extinfo) { __attribute__((visibility("default"))) void *hook_android_dlopen_ext(const char *filename, int flags, const android_dlextinfo *extinfo) {
@ -108,7 +107,7 @@ __attribute__((visibility("default"))) FILE *hook_fopen(const char *filename, co
LOGI("hook_fopen: passthrough: %s", filename); LOGI("hook_fopen: passthrough: %s", filename);
return fopen(filename, mode); return fopen(filename, mode);
} }
LOGI("LET %p", hook_params);
auto replacement{hook_params->fileRedirectDir + filename}; auto replacement{hook_params->fileRedirectDir + filename};
LOGI("hook_fopen: %s -> %s", filename, replacement.c_str()); LOGI("hook_fopen: %s -> %s", filename, replacement.c_str());