I debug an android application with Frida and I overload function that return java.util.List<SomeObject>
I want to remove the first element from List that the function is return.
How can I do that please?
Java.perform(function x() {
var my_class = Java.use("a.b");
my_class.c.overload().implementation = function () {
var s= this.c(); // THE FUNCTION RETURN java.util.List<SomeObject>
//HERE I WANT TO REMOVE THE FIRST ELEMENT IN S
return s;
};
});
Here is c function:
public List<SomeObject> c() {
return this.c;
}