如何 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;
//Log.e("DEBUG","Stack:",new Throwable("stack dump"));
super.beforeHookedMethod(param);
}
@Override
protected void afterHookedMethod(MethodHookParam param)
throws Throwable {
super.afterHookedMethod(param);
}
});
页:
[1]