Commit 59da57cc authored by swift_gan's avatar swift_gan

add pass reflection on Android Q

parent a19666fa
...@@ -31,8 +31,8 @@ public class ReflectionUtils { ...@@ -31,8 +31,8 @@ public class ReflectionUtils {
} }
} }
//className like Lcom/swift/sandhook/utils/ReflectionUtils //methidSigs like Lcom/swift/sandhook/utils/ReflectionUtils;->vmRuntime:java/lang/Object; (from hidden policy list)
public static void addReflectionWhiteList(String... classNames) throws Throwable { public static void addReflectionWhiteList(String... memberSigs) throws Throwable {
addWhiteListMethod.invoke(vmRuntime, new Object[] {classNames}); addWhiteListMethod.invoke(vmRuntime, new Object[] {memberSigs});
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment