-
-
未解决 frida不能创建object数组,这个object数组里面包含一个object数组
-
发表于: 2020-11-27 09:37 2585
-
遇到一个创建object数组报错的问题:
1 2 3 4 5 | / / 这个创建成功 var arrayOne = Java.array( 'Ljava.lang.Object;' ,[Java.use( 'java.lang.Integer' ).$new( 0 )]); / / arrayTwo包含arrayOne 创建时候报错 var arrayTwo = Java.array( 'Ljava.lang.Object;' , [Java.use( 'java.lang.Integer' ).$new( 1 ), "2" , arrayOne]); |
Error:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | Error: expected a pointer at <anonymous> (frida / node_modules / frida - java - bridge / lib / env.js: 272 ) at apply (native) at <anonymous> (frida / node_modules / frida - java - bridge / lib / env.js: 97 ) at <anonymous> (frida / node_modules / frida - java - bridge / lib / types.js: 252 ) at call (native) at d (frida / node_modules / frida - java - bridge / lib / types.js: 281 ) at toJni (frida / node_modules / frida - java - bridge / lib / types.js: 254 ) at array (frida / node_modules / frida - java - bridge / lib / class - factory.js: 144 ) at array (frida / node_modules / frida - java - bridge / index.js: 260 ) at <anonymous> (< input >: 2 ) at <anonymous> (frida / node_modules / frida - java - bridge / lib / vm.js: 12 ) at perform (frida / node_modules / frida - java - bridge / index.js: 192 ) at < eval > (< input >: 2 ) at eval (native) at fridaReplEvaluate ( / hook.js: 149 ) at apply (native) at <anonymous> (frida / runtime / message - dispatcher.js: 13 ) at c (frida / runtime / message - dispatcher.js: 23 ) |
请问一下,有什么办法没有呢?调用方法参数就是这个样子的。
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
看原图
赞赏
雪币:
留言: