📦 Overall Update
⚡ Efficiency
- Pattern scanning now utilizes the Boyer-Moore algorithm for significantly faster performance.
- Optimized for applications with large library address spaces.
🔧 New Features
- Added ptrace fallback to allow memory operations even under strict SELinux environments.
- Implemented
manualElfOpento handledlopenfailures manually and improve stability.
🔗 Compatibility
- Explicit support for 32-bit and 64-bit architectures (ARM/ARM64).
- Improved compatibility across various Android versions and devices.
🔐 Security
- Stricter input validation.
- Enhanced logging to simplify debugging and reduce potential errors.
🎯 Flexibility
- Supports library filtering during pattern scanning.
- Manual ELF loading provides greater control for developers in managing library processing.
⚠️ ELF Relocation
-
manualElfOpencurrently does not handle symbol relocation or library initialization (e.g..init_array). -
If needed, developers should:
- Parse the
.dynamicsection. - Handle relocations such as
DT_RELorDT_RELA.
- Parse the