It uses libsu which helps to run in root process, libsu uses native ipc mechanism to do that
This loops through the /proc/ directory to find the package name in the cmdline.
It finds the name of the library in /proc/pid/maps and gives its corresponding address.
Filters and sorts all library names of /proc/pid/maps
- Get list of loaded libraries
- Native library injection
- Soon more
- libsu: Management of root services over IPC