Overview of xHook
masterxHook is a PLT (Procedure Linkage Table) hook library designed for Android native ELF (executable and shared libraries). It allows developers to intercept function calls within loaded libraries by replacing PLT entries with custom functions.
Key Features:
- Compatibility: Supports Android 4.0 - 10 (API level 14 - 29).
- Architecture Support: armeabi, armeabi-v7a, arm64-v8a, x86, and x86_64.
- ELF Support: Handles both ELF HASH and GNU HASH indexed symbols, as well as SLEB128 encoded relocation info.
- Flexibility: Supports setting hook info via POSIX BRE (Basic Regular Expression) and requires no root or special system permissions.
- Zero Dependencies: Does not depend on any third-party shared libraries.