nevermoe / XEHook

Emulator Native Hooking Framework based on Xposed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XEHook

Emulator Hooking Framework based on Xposed

Usage

  1. Modify XEHook.java to filter which app you want to hook: https://github.com/nevermoe/XEHook/blob/master/app/src/main/java/com/nevermoe/xehook/XEHook.java#L19
  2. modify nativehook.c to hook functions: https://github.com/nevermoe/XEHook/blob/master/app/src/jni/nativehook.c#L59
  3. Build using ./gradlew assembleDebug
  4. Install the apk file as an Xposed module as usual.

Notice

  1. You may have to call dlopen in nativehook.c first if the native library is not loaded yet.
  2. Use path like "nb/libc.so" to eliminate ambiguity because there are two architectures' libc.

Refer to EHOOK for more information.

About

Emulator Native Hooking Framework based on Xposed

License:GNU General Public License v2.0


Languages

Language:C 90.1%Language:Java 8.1%Language:Makefile 1.8%