Skip to content

v0.4.0

Latest

Choose a tag to compare

@Qwanwin Qwanwin released this 16 Jun 10:14
4b89140

📦 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 manualElfOpen to handle dlopen failures 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

  • manualElfOpen currently does not handle symbol relocation or library initialization (e.g. .init_array).

  • If needed, developers should:

    • Parse the .dynamic section.
    • Handle relocations such as DT_REL or DT_RELA.