Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple bug to fix when executing frida code. #161

Open
brunoaduarte opened this issue May 11, 2024 · 1 comment
Open

Simple bug to fix when executing frida code. #161

brunoaduarte opened this issue May 11, 2024 · 1 comment
Labels

Comments

@brunoaduarte
Copy link

brunoaduarte commented May 11, 2024

  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.
@charles2gan
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants