hook框架frida某个类下的所有方法名字模板

模板

function getfunc() {
    java.perform(function () {
        var class_name = java.use('你反编译需要拿到的类名');
        var methods=class_name.getDeclaredMethods();
        for(var j =0;j<methods.length;j++){
            console.log(methods[j])
            method_name=methods[j].getName()
            console.log(method_name)
        }
    })
}


原文地址:https://www.cnblogs.com/pythonywy/p/13725667.html