Can't hook library
Open
bug
- Dominant language
- C
- Stars
- 2.6k
- Forks
- 399
- PR merge metrics
- No merged PRs in 30d
Description
### bytehook Version
1.0.10
### Android OS Version
12
### Android ABIs
x86_64
### Device Manufacturers and Models
OnePlus A5000
### Describe the Bug
I try to hook droidguard library (libxxxxxxx.so). I hooked java layer System.load and see that com.google.android.gms.unstable process loads libxxxxxxx.so library, but bhook can't find it in /proc/self/maps to change funcs elf addresses. I tried to find this lib manually by cat /proc/(pid_of_unstable)/maps but it is not exists in the maps list. So it’s very strange why doesn’t the lib appear in the maps list after loading.
Do you have any ideas?
Contributor guide
Assessment
This issue has not been assessed yet.