When copying a frida snippet of a function the console.log contains the original name, even if you rename the function.
Lets say I rename the function "a" in class "SomeManager" to "startWork".
current frida snippet -
let SomeManager = Java.use("com.example.SomeManager");
SomeManager["a"].overload('android.content.Context').implementation = function (context) {
console.log('SomeManager.a is called' + ', ' + 'context: ' + context);
let ret = this["a"](context);
console.log('SomeManager.a return: ' + ret);
return ret;
};
new frida snippet would look like this -
let SomeManager = Java.use("com.example.SomeManager");
SomeManager["a"].overload('android.content.Context').implementation = function (context) {
console.log('SomeManager.startWork is called' + ', ' + 'context: ' + context);
let ret = this["a"](context);
console.log('SomeManager.startWork return: ' + ret);
return ret;
};
I will add the code for this change in a PR :).
When copying a frida snippet of a function the console.log contains the original name, even if you rename the function.
Lets say I rename the function "a" in class "SomeManager" to "startWork".
current frida snippet -
new frida snippet would look like this -
I will add the code for this change in a PR :).