Arrays
Explanation of the way to work with arrays in Frida
Last updated
Was this helpful?
Explanation of the way to work with arrays in Frida
Last updated
Was this helpful?
**** NOTE: BLOG MOVED TO ****
Arrays are transformed in Frida from Javascript to Java transparently, so there is no special consideration, as shown in the following examples:
This example shows a transformation from a javascript Array to a Java array.
This method receives an array in Java. When the Frida user writes the reimplementation function, they will receive a Javascript Array.
The forEach structure (used in Javascript) to iterate on an array does not work.
Whenever the following code is called:
the frida server generates an error:
Working with array of Objects is like working with native types, with the exception that a position in the Array can be null, so it must be taken in consideration when the script is being developed, as in the following example: