qilingframework / qiling

A True Instrumentable Binary Emulation Framework
https://qiling.io
GNU General Public License v2.0
5.06k stars 737 forks source link

Missing Android dynamic linker file #1460

Open ytournier opened 6 months ago

ytournier commented 6 months ago

During the Android dynamic linking, the linker raise an error because the ld.config.txt file is missing:

linker: error reading config file "/system/etc/ld.config.txt" for "/bin/tmptlrqtxze/arm64_android_hello" (will use default configuration): error reading file "/system/etc/ld.config.txt": Operation not permitted
WARNING: linker: error reading config file "/system/etc/ld.config.txt" for "/bin/tmptlrqtxze/arm64_android_hello" (will use default configuration): error reading file "/system/etc/ld.config.txt": Operation not permitted

Here's a ld.config.txt file extracted from an Android Emulator using an OS version 14 and it must be copied to _rootfs/arm64android/system/etc.