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

not working on x86 emulator with arm support #6

Closed
qtfreet00 opened this issue Oct 21, 2019 · 4 comments
Closed

not working on x86 emulator with arm support #6

qtfreet00 opened this issue Oct 21, 2019 · 4 comments

Comments

@qtfreet00
Copy link

qtfreet00 commented Oct 21, 2019

I'm tested jnitrace on mumu emulator which support arm libraries

jnitrace don't print anything

tested library is arm

@chame1eon
Copy link
Owner

Thanks for the bug report. I think the issue is that Frida does not interception where ARM to x86 translation is taking place. jnitrace just uses Frida behind the scenes so if Frida is not working jnitrace will not work. Can you try seeing if Frida can hook some of the functions in that library?

@qtfreet00
Copy link
Author

yes,my other frida scripts works correctly on this emulator,and i tried jnitrace on my real phone,works well too , i think maybe jnitrace choose arch wrong on emulator run with arm library

@chame1eon
Copy link
Owner

Okay, thanks for trying that. I will try to reproduce the issue to see if I can get to the bottom of it. Any chance you can send me a link to the APK you were using for testing?

@chame1eon
Copy link
Owner

I have tested my own test application on MUMU emulator and jnitrace works fine if the application has x86 supported libraries. If it only has arm, like you say, it will not run. This is a common problem with native Frida on the x86 project emulators which MUMU emulator uses. Those emulators use the libhoudini library to dynamically translate ARM code into x86 instructions and that causes problems when trying to hook them with Frida. I am closing this issue now as it is not really a jnitrace issue, more a Frida/libhoudini issue. Thanks for your bug report.

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