What is ByteHook and its key features?
mainByteHook is an Android PLT (Procedure Linkage Table) hook library designed for production environments. Unlike inline hook libraries (like shadowhook), ByteHook focuses on stability, backward compatibility, and performance.
Key Features:
- Compatibility: Supports Android 4.1 to 17 (API 16 - 37) and architectures
armeabi-v7a,arm64-v8a,x86, andx86_64. - Non-conflicting Hooks: Multiple hooks and unhooks on the same function do not conflict.
- Granular Control: Can hook single, partial, or all dynamic libraries in a process, including automatically hooking newly loaded libraries.
- Safety: Automatically avoids recursive or circular calls between proxy functions.
- Observability: Supports stack trace retrieval within proxy functions.