iOS 文档
April 9, 2022 · View on GitHub
获取函数地址
const addr = FCiOS.getFuncAddr('*[NVEnvironment deviceId]');
模糊查找函数地址
const targets = FCiOS.findAllByPattern('*[* base64EncodedDataWithOptions*]');
targets.forEach(function (target: any) {
DMLog.i('base64EncodedDataWithOptions', 'target.name: ' + target.name + ', target.address: ' + target.address);
Interceptor.attach(target.address, {
onEnter: function (args) {
FCiOS.showStacks(this);
},
onLeave: function (retval) {
DMLog.i('base64EncodedDataWithOptions', 'retval: ' + FCiOS.nsdataToString(retval));
}
})
});
打印堆栈
FCiOS.showStacks(this);
dump ui
console.log(FCiOS.dump_ui());
trace openURL
FCiOS.trace_url();
trace NSLog
FCiOS.trace_NSLog();