frida-scripts icon indicating copy to clipboard operation
frida-scripts copied to clipboard

ReferenceError: identifier 'i' undefined

Open dwj1210 opened this issue 4 years ago • 0 comments

error: Snipaste_2020-08-06_11-13-36

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~

dwj1210 avatar Aug 06 '20 03:08 dwj1210