Giter Site home page Giter Site logo

chenyangming9 / and64inlinehook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rprop/and64inlinehook

3.0 0.0 4.0 51 KB

Lightweight ARMv8-A(ARM64, AArch64, Little-Endian) Inline Hook Library for Android C/C++

License: MIT License

C++ 98.20% Makefile 1.41% Shell 0.39%

and64inlinehook's Introduction

And64InlineHook

Lightweight ARMv8-A(ARM64, AArch64, Little-Endian) Inline Hook Library for Android C/C++

References

Arm Compiler armasm User Guide
Procedure Call Standard for the Arm® 64-bit Architecture (AArch64)

在fork后做了一点修改,并提供了一个例子

  1. 在 And64InlineHook.cpp 的开头部分加了头文件 #include <string.h> ;
  2. 将 And64InlineHook.cpp 的后半段中 extern "C" 中的 #define 脱离出来放到文件的开头部分了,因为__flush_cache在前半段有使用到;
  3. 给出了一个inline-hook的例子,测试代码在 test.cpp 中,然后调用了And64InlineHook.cpp中代码,配置信息在 Android.mk 、Application.mk 中,可以直接跑脚本 run.sh (其中ndk-build的路径要改一下)。

and64inlinehook's People

Contributors

chenyangming9 avatar rprop avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.