GDA-android-reversing-Tool icon indicating copy to clipboard operation
GDA-android-reversing-Tool copied to clipboard

Simple bug to fix when executing frida code.

Open brunoaduarte opened this issue 1 year ago • 1 comments

  1. Let's say I rename a custom class. If I use the frida menu to perform any methods (hook, execute, etc) on a method that uses the renamed class as a parameter. For example:
class 14E {     // Rename it to My14E
}

Instead of having the original name as reference for the runtime code

function A00('X.14E') {
}

It also renames the parameter type

function A00('X.My14E') {
}

but it shouldn't do that. It must keep the original name otherwise the script will lose reference when executing the original apk on the device.

Which will throw an error in execution obviously.

  1. If I rename a method inside a class, the callers of that method on other classes doesn't show the renamed name. It will show the original name of the method.

brunoaduarte avatar May 11 '24 18:05 brunoaduarte

  1. you must use the original name, renaming did not change the apk file.
  2. try to refresh code.

charles2gan avatar May 14 '24 07:05 charles2gan