Overview of ShadowHook
mainshadowhook is an Android inline hook library designed for production environments. It focuses on stability, backward compatibility (API and ABI), and performance.
Key features include:
- Support for
armeabi-v7aandarm64-v8aarchitectures. - Support for Android
4.1to17(API level16to37). - Support for both hook (function-level) and intercept (instruction-level) operations.
- Ability to target locations via direct addresses or by using
library name + function name. - Automatic hooking/intercepting of newly loaded ELFs with optional callbacks.
- Automatic prevention of recursive calls between proxy functions.
- Support for bypassing linker namespace restrictions to query symbols in all process ELFs.
- Compatibility with CFI unwind and FP unwind in proxy/interceptor functions.