15
rated 0 times
[
17]
[
2]
/ answers: 1 / hits: 7543
/ 4 Years ago, wed, april 15, 2020, 12:00:00
I am exploring an Android program that has several methods with the same names and parameters.
I need to call a specific method overload.
Java code like this
package a;
public class d
{
public int a() {
return 10;
}
public long a() {
return 20;
}
public long b() {
long ret = a();
return ret + 1;
}
}
I need replace implementation of b() and call (int)a() instead of (long)a().
Please help me fix my frida js code.
Java.perform(function () {
Var Class_A_D = java.Use(a.d);
Class_A_D.b.implementation = function(){
var ret = this.(a); // need to call int implementation
return ret;
}
}
More From » java