change some logs level to V

This commit is contained in:
5ec1cff
2023-12-12 10:50:11 +08:00
parent f101ffb95f
commit b45d55e83d
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ void* DlopenMem(int fd, int flags) {
auto* handle = android_dlopen_ext("/jit-cache", flags, &info);
if (handle) {
LOGD("dlopen fd %d: %p", fd, handle);
LOGV("dlopen fd %d: %p", fd, handle);
} else {
LOGE("dlopen fd %d: %s", fd, dlerror());
}

View File

@@ -180,7 +180,7 @@ DCL_HOOK_FUNC(int, pthread_attr_destroy, void *target) {
if (gettid() != getpid())
return res;
LOGD("pthread_attr_destroy\n");
LOGV("pthread_attr_destroy\n");
if (should_unmap_zygisk) {
unhook_functions();
if (should_unmap_zygisk) {
@@ -198,7 +198,7 @@ void initialize_jni_hook();
DCL_HOOK_FUNC(char *, strdup, const char *s) {
if (s == "com.android.internal.os.ZygoteInit"sv) {
LOGD("strdup %s\n", s);
LOGV("strdup %s\n", s);
initialize_jni_hook();
}
return old_strdup(s);
@@ -247,7 +247,7 @@ void hookJniNativeMethods(JNIEnv *env, const char *clz, JNINativeMethod *methods
auto artMethod = lsplant::art::ArtMethod::FromReflectedMethod(env, method);
hooks.push_back(nm);
auto orig = artMethod->GetData();
LOGD("replaced %s %s orig %p", clz, nm.name, orig);
LOGV("replaced %s %s orig %p", clz, nm.name, orig);
nm.fnPtr = orig;
}