From 0a9889df4203c852e5b36ad3efca03e310f68877 Mon Sep 17 00:00:00 2001 From: Milk <1871357815@qq.com> Date: Tue, 25 May 2021 11:36:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E5=8A=A0=E5=B4=A9?= =?UTF-8?q?=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp b/Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp index 4c9300d..e7d70da 100644 --- a/Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp +++ b/Bcore/src/main/jni/Hook/UnixFileSystemHook.cpp @@ -112,9 +112,9 @@ void UnixFileSystemHook::init(JNIEnv *env) { const char *className = "java/io/UnixFileSystem"; JniHook::HookJniFun(env, className, "canonicalize0", "(Ljava/lang/String;)Ljava/lang/String;", (void *) new_canonicalize0, (void **) (&orig_canonicalize0), false); - JniHook::HookJniFun(env, className, "getBooleanAttributes0", "(Ljava/lang/String;)I", - (void *) new_getBooleanAttributes0, - (void **) (&orig_getBooleanAttributes0), false); +// JniHook::HookJniFun(env, className, "getBooleanAttributes0", "(Ljava/lang/String;)I", +// (void *) new_getBooleanAttributes0, +// (void **) (&orig_getBooleanAttributes0), false); JniHook::HookJniFun(env, className, "getLastModifiedTime0", "(Ljava/io/File;)J", (void *) new_getLastModifiedTime0, (void **) (&orig_getLastModifiedTime0), false);