递归火山软件开发平台
标题:
如何 hook JSON ?
[打印本页]
作者:
2213766112
时间:
2022-11-23 22:41
标题:
如何 hook JSON ?
下面这串代码 怎么翻译成火山的代码 hook JSON的
XposedHelpers.findAndHookConstructor("org.json.JSONObject", cl, String.class, new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
String oldJson = (String)param.args[0];
//Log.e("DEBUG","Stack:",new Throwable("stack dump"));
super.beforeHookedMethod(param);
}
@Override
protected void afterHookedMethod(MethodHookParam param)
throws Throwable {
super.afterHookedMethod(param);
}
});
欢迎光临 递归火山软件开发平台 (https://bbs.voldp.com/)
Powered by Discuz! X3.4