Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android: Revive injector's handling of shared libc ranges
So we still do the right thing if the target process' lowest libc.so range is a shared mapping, for example: HNFRI:/ # grep libc.so /proc/22001/maps 6e3e1cd000-6e3e2c7000 r--s 00000000 07:08 38 /apex/com.android.runtime/lib64/bionic/libc.so 71eb6c2000-71eb6ff000 r--p 00000000 07:08 38 /apex/com.android.runtime/lib64/bionic/libc.so 71eb6ff000-71eb781000 r-xp 0003d000 07:08 38 /apex/com.android.runtime/lib64/bionic/libc.so 71eb781000-71eb786000 r--p 000bf000 07:08 38 /apex/com.android.runtime/lib64/bionic/libc.so 71eb786000-71eb787000 rw-p 000c3000 07:08 38 /apex/com.android.runtime/lib64/bionic/libc.so Originally implemented in 5e8314f, but lost in the injector rewrite.
- Loading branch information