Skip to content
/ xHook Public
forked from iqiyi/xHook

🔥 A PLT hook library for Android native ELF (executable and shared libraries). Support Android 4.0+. Support armeabi-v7a, arm64-v8a, x86, x86_64.

License

Unknown, CC-BY-4.0 licenses found

Licenses found

Unknown
LICENSE
CC-BY-4.0
LICENSE-docs
Notifications You must be signed in to change notification settings

qianxl9/xHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xhook

Overview

xhook is a PLT hook library for Android native ELF (executables and Libraries).

Feature

  • supports armeabi, armeabi-v7a and arm64-v8a
  • supports Android 4.0+ (API level 14+)
  • supports symbol lookup via DT_HASH and DT_GNU_HASH
  • supports reloc lookup via DT_ANDROID_REL and DT_ANDROID_RELA
  • hook symbols for specified ELF or all ELF
  • do NOT need root permission
  • small library, pure C code

Compile

  • compile the libraries

      ./build_libs.sh
    
  • install the libraries to android project's libs path

      ./install_libs.sh
    
  • clean the libraries

      ./clean_libs.sh
    

About

🔥 A PLT hook library for Android native ELF (executable and shared libraries). Support Android 4.0+. Support armeabi-v7a, arm64-v8a, x86, x86_64.

Resources

License

Unknown, CC-BY-4.0 licenses found

Licenses found

Unknown
LICENSE
CC-BY-4.0
LICENSE-docs

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.8%
  • Java 6.1%
  • Shell 1.2%
  • Makefile 0.9%