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

crash hooking functions without return value #14

Open
valerino opened this issue May 29, 2015 · 1 comment
Open

crash hooking functions without return value #14

valerino opened this issue May 29, 2015 · 1 comment

Comments

@valerino
Copy link

hi,
have you tried to hook void functions ?
i.e. void AudioRecord::stop() into /system/lib/libmedia.so

it crashes after returning from the hook, or after a few calls. probably compiler optimizations on functions returning void.
seems your library works fine in any other case except this ....

regards,
valerio

@jduck
Copy link
Collaborator

jduck commented Jun 20, 2015

Perhaps it's something in your hook. We'd need to see more of your code to know what's happening.

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