我正在尝试根据 JavaScript API 使用 Frida (Android 7 device - rooted emulator)。
这是当前代码:
Java.perform(function() {
var x = Java.use('com.x.myCustomClass.util')
console.log(x.functionIKnowExists) // will return function n() { [ecmascript code] }
}
但是,在访问函数时,我收到此错误:
____
/ _ | Frida 12.6.12 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Attaching...
function n() { [ecmascript code] }
如何查看函数的实际实现(反编译代码)"functionIKnowExists()"
?