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

Made a small modification to the code and add a case #8

Closed
wants to merge 4 commits into from

Conversation

Chenyangming9
Copy link

Made a little modification after fork and provided an example

  1. Added the header file #include <string.h> at the beginning of And64InlineHook.cpp;
  2. Remove the #define in extern "C" in the second half of And64InlineHook.cpp and put it at the beginning of the file, because __flush_cache is used in the first half;
  3. An example of inline-hook is given. The test code is in test.cpp, and then the code in And64InlineHook.cpp is called. The configuration information is in Android.mk and Application.mk. You can run the script run.sh directly (among them The path of ndk-build needs to be changed).

@Rprop
Copy link
Owner

Rprop commented Jul 11, 2022

感谢, 为了保持简洁, 例子没合进来

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

Successfully merging this pull request may close these issues.

3 participants