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

如何加载libandroid.so #9

Closed
weststarqp opened this issue Mar 15, 2020 · 2 comments
Closed

如何加载libandroid.so #9

weststarqp opened this issue Mar 15, 2020 · 2 comments

Comments

@weststarqp
Copy link

weststarqp commented Mar 15, 2020

感谢大佬的项目,我现在遇到个问题,由于目标so需要调用AAssetManager_fromJava,我尝试让它加载libandroid.so,提示
"can not detect nsymbol by DT_HASH, DT_GNUHASH, not support now"

@maiyao1988
Copy link
Owner

AAssetManager_fromJava是libAndroid的符号吗?libAndroid从什么系统复制进来的,最好不要找5.0以上的系统,因为5.0以上的符号hash表可能会使用gnu hash,我这里暂时还没写解析代码,用4.4的应该就不会出现了

@weststarqp
Copy link
Author

换了4.4.4的可以使用了,十分感谢.

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

2 participants