Add filepath to qModuleInfo packet
The file path is currently required on android because the executable only contain the name of the system libraries without their path. This CL add an extra field to the qModuleInfo packet to return the full path of a module and add logic to locate a shared module on android.
How we can handle application's native libraries loaded into zygote process?
If application loads a library via System.loadLibrary a load path might have a following format:
/data/app/com.google.ovyalov.ndktest-1/lib/x86/libprober.so
Depending on a target architecture x86 is replaced with arm64-v8a, armeabi, armeabi-v7a, mips, mips64 or x86_64.
As far as I can see from /proc/${PID}/environ there is no LD_LIBRARY_PATH variable - just LD_PRELOAD=libsigchain.so