Skip to content

deleted #476

Answered by yujincheng08
ghost asked this question in Q&A
Apr 11, 2021 · 3 comments · 5 replies
Discussion options

You must be logged in to vote
  1. native_init only tells LSPosed what library should call native_init, but we won't load it for you. So you have to load it at the proper time (but not in initZygote).
  2. You should hook _ZN7_JNIEnv9FindClassEPKc on JNI_ONLoad by hook_func(&env->FindClass, &my_findClass, &bk_findClass); because it's not any function on the app lib.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@yujincheng08
Comment options

@yujincheng08
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
2 replies
@yujincheng08
Comment options

@yujincheng08
Comment options

Answer selected by yujincheng08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #473 on April 11, 2021 16:32.