Make symbolic link for Android
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- android, python
- Lĩnh vực
- operating-systems, reverse-engineering
Hướng nghiên cứu
Start by tracing how the Android rootfs handles /proc/self/fd and the readlink syscall, using the reported paths for descriptors 3 and 4 as the entry point. Compare that behavior with the proposed rootfs/arm64_android/proc/self/fd symlinks; done means the linker resolves libdl.so and libc.so without the readlink warnings and PropClient loads.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Using Android binaries found in the rootfs, the readlink syscall does not find the binaries associated with file descriptors 3 and 4 which are libdl.so and libc.so respectively.
Here's the warning message raise during the execution:
linker: readlink("/proc/self/fd/3") failed: Operation not permitted [fd=3]
linker: warning: unable to get realpath for the library "/system/lib64/libdl.so". Will use given path.
linker: readlink("/proc/self/fd/4") failed: Operation not permitted [fd=4]
linker: warning: unable to get realpath for the library "/system/lib64/libc.so". Will use given path.
propClient: PropClient failed to load
Creating symbolic links as shown below is enough to satisfy the linker:
mkdir -p rootfs/arm64_android/proc/self/fd
ln -sf rootfs/arm64_android/system/lib64/libdl.so rootfs/arm64_android/proc/self/fd/3
ln -sf rootfs/arm64_android/system/lib64/libc.so rootfs/arm64_android/proc/self/fd/4
- Ngôn ngữ chính
- Python
- Star
- 6.2k
- Fork
- 806
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của qilingframework/qiling
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
qilingframework/qiling#1690 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
qilingframework/qiling#1689 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
qilingframework/qiling#1688 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
qilingframework/qiling#1686 ·
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 82/100
qilingframework/qiling#1640 ·
Tất cả issue của qilingframework/qiling
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
huggingface/datasets#9128 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:low ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
OpenHands/extensions#975 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Function/dict state handlers can't supply provider-state injected values (`generate.provider_state`)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pact-foundation/pact-python#1789 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
juandresrodca/AdminForge#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày