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

Crash when hooking StringBuilder #7

Open
zhengmin1989 opened this issue Jan 25, 2015 · 0 comments
Open

Crash when hooking StringBuilder #7

zhengmin1989 opened this issue Jan 25, 2015 · 0 comments

Comments

@zhengmin1989
Copy link

new HookConfig(true, // set to true to enable the hook
"java.lang.StringBuilder", "append", new Class<?>[]{java.lang.String.class},
// class, method name, arguments
new StringBuilderHook(),
// instance of the implementation extending IntroHook (here in HookExampleInpl.java)
"StringBuilder Hook"),

I tried to hook the ``append'' method of StringBuilder, but the app crashed after hooking.
In addition, after hooking, the device cannot launch after rebooting. I also tried to hook the "equals"
method of "java.lang.String", it worked fine. So please check the StringBuilder class hooking.

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

No branches or pull requests

1 participant