LSPosed/core
dev 402d3984d3
Add `r--p` fallback pattern lookup of libart.so base for Android 10 (#497)
- When the Step 2 (r-xp) mode is not found, implement the lookup logic to fall back to the first r--p segment
- On android 10 Step 1 to Step 2 doesn't match any pattern, but r--p does have a libart.so address

- Log
findModuleBase(): Found 4 filtered map entries for libart.so:
findModuleBase():   0x70991e8000 r--p /apex/com.android.runtime/lib64/libart.so
findModuleBase():   0x7099327000 --xp /apex/com.android.runtime/lib64/libart.so
findModuleBase():   0x70997de000 rw-p /apex/com.android.runtime/lib64/libart.so
findModuleBase():   0x70997e1000 r--p /apex/com.android.runtime/lib64/libart.so
findModuleBase(): `r--p` -> `r-xp` pattern not found. Falling back to first `r-xp` entry.
findModuleBase(): `r-xp` pattern not found. Falling back to first `r--p` entry.
findModuleBase(): Found first `r--p` block at 0x70991e8000
findModuleBase(): get module base /apex/com.android.runtime/lib64/libart.so: 0x70991e8000
findModuleBase(): update path: /apex/com.android.runtime/lib64/libart.so
2026-01-18 23:56:46 +01:00
..
src/main Add `r--p` fallback pattern lookup of libart.so base for Android 10 (#497) 2026-01-18 23:56:46 +01:00
.gitignore Stablize CMake arguments (#2266) 2022-12-03 06:41:54 +00:00
build.gradle.kts Add commons-lang as a subproject 2024-09-22 14:25:45 +02:00
proguard-rules.pro Fix proguard rules 2024-08-31 02:43:25 +02:00