WindySha / Xpatch

This is a tool to repackage apk file, then the apk can load any xposed modules installed in the device. It is another way to hook an app without root device.
Apache License 2.0
2.54k stars 388 forks source link

Hook Class.forName导致的class not found问题 #70

Open liangxiwei opened 3 years ago

liangxiwei commented 3 years ago

在app的inner hook Class.forName后,即便啥也不做,app里面调用了Class.forName会找不到class,百思不得其解。

XposedBridge.hookAllMethods(Class.class, "forName", new XC_MethodHook() { @Override public void beforeHookedMethod(MethodHookParam param) throws Throwable { super.beforeHookedMethod(param); } });