-
Notifications
You must be signed in to change notification settings - Fork 274
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 bug while hook an arm64 function #25
Comments
Thanks for the feedback. Analysis from tombstone: the direct cause of the crash is that the hook uses a 16-bytes long jump (
There are two doubts:
These two doubts may be related to the simulator. shadowhook is not widely used in the simulator, and there are some other known problems in the simulator. In addition, you can also provide the logcat information of shadowhook (turn on the debug switch during initialization, logcat tag: |
Thanks for your very detailed explanation. I have attached libunity.so, elfdump and the shadowhook logcat here: libunity.zip Have a nice day and thank you! |
@supernghia89 According to the logcat info, I found a bug in the here is the patch: 56be626 and a new alpha version in MavenCentral: Can you test this version? In addition, please provide the logcat of shadowhook again at the same time, thank you~ |
It works like a charm !!! Thank you for the great work I have attached the new logcat: logcat_new.txt Have a nice day! |
As seen from the logcat, this bug has been fixed, and now it should use a 4-bytes relative jump. |
The fix for this bug has been included in version v1.0.5. |
ShadowHook Version
1.0.4
Android OS Version
9
Android ABIs
arm64-v8a
Device Manufacturers and Models
LDPlayer 9
Describe the Bug
I got a crash bug while hooking this function
another function is working well but this function got a crash
I'm using an android emulator called LDPlayer 9, the latest build
tombstone: tombstone_00.zip
Thanks!
The text was updated successfully, but these errors were encountered: