__loader_dlopen returns 0
mohdali opened this issue · 3 comments
mohdali commented
Hi,
I'm trying your template on an Android Marshmallow Phone (6.0.1).
However, I see that the below call
void* __loader_dlopen = dlsym(dl, "__loader_dlopen");
returns 0. Which makes the rest of the code fail.
Can you please point me if I need to used a different call in Marshmallow?
mohdali commented
Ok, found my answer,
I could just hook to dlopen itself.
The code wrok likea charm now. Thanks! It saved me a lot of time.
kotori2 commented
Actually it is way more easier for you to get soinfo in Android 6.0 using do_dlopen.
mohdali commented
Yes. In android 6 it is easier. Thanks a lot.