frida打印类下方法模板

Java.use('类名').class.getDeclaredMethods().forEach(function (method) {
    var methodName = method.toString();
    console.log("method name = " + methodName);
    try {
      // .. hook here
    } catch (e) { 
      console.error(methodName, e);
    }
});
posted @ 2022-08-25 18:25  小小咸鱼YwY  阅读(138)  评论(0)    收藏  举报