frida-scripts
frida-scripts copied to clipboard
ReferenceError: identifier 'i' undefined
error:
code at /raptor_frida_ios_autoIntercept.js:66
your code:
// print args
for (i = 0; i < argCount; i++) {
printType("\narg " + (i + 1) + " type:\t", args[i + 2]);
printValue("arg " + (i + 1) + " value:\t", args[i + 2]);
}
changed code:
// print args
for (var i = 0; i < argCount; i++) {
printType("\narg " + (i + 1) + " type:\t", args[i + 2]);
printValue("arg " + (i + 1) + " value:\t", args[i + 2]);
}
frida version: 12.7.5
iOS version: 11.1
end: Sorry, my English is not very good, hope you can understand this issue, welcome to email me: [email protected] Look forward to hearing from you~