Running bindiff export does not result in `.BinExport` file being created
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
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- reverse-engineering, tooling
Hướng nghiên cứu
Bắt đầu bằng việc tái hiện bằng /opt/bindiff/bin/bindiff --export trên tệp nhị phân Envoy và kiểm tra đường dẫn export của IDA được đề cập trong main_plugin.cc. So sánh các tệp được quan sát bằng opensnoop và xem lại ~/.bindiff/logs/bindiff_idapro.log; hoàn tất khi tệp .BinExport dự kiến được tạo cho các phiên bản IDA và Bindiff được báo cáo.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
I'm trying to diff an envoy file containing debug symbols against an optimized release image. I initially tried to diff them against each other through the IDA plugin window and received the "Exporting the secondary database failed." error.
After looking into the source a bit, I tried to run the /opt/bindiff/bin/bindiff directly to isolate what the problem is. It appears that the .BinExport files aren't being created by IDA. Please see my reproduction steps below and let me know if I can provide any more helpful context!
To Reproduce
- Download envoy v1.31.1
docker pull envoyproxy/envoy:v1.31-latest
container_sha=$(docker create envoyproxy/envoy:v1.31-latest)
docker cp ${container_sha}:/usr/local/bin/envoy ./
- Open binary in IDA and wait for initial analysis to complete
- Save IDA database file and close IDA
- Run bindiff export from the command line --
/opt/bindiff/bin/bindiff --export directory/containing/envoy-binary/ - See that no
.BinExportfile is created
Expected behavior
That a .BinExport file is created and I'm able to diff a file with debug symbols and the optimized release.
Environment (please complete the following information):
- OS and version: Ubuntu 22 VM
- Locale: US English
- Disassembler and version: IDA Free 8.4
- Bindiff v8 -- installed
.debfrom release page
Additional context
I noticed that bindiff is running the following ida64 command. I tried running that directly on my machine and used opensnoop to track what files ida64 is writing. Attached below are the commands I ran and the output from opensnoop. The ~/.bindiff/logs/bindiff_idapro.log file also doesn't contain much information.
- Ngôn ngữ chính
- Java
- Star
- 3.2k
- Fork
- 240
- 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
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 google/bindiff
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
question
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
-
ida pro 9.1 i64 db diff failsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
[Bug] Error when buildĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
[Bug] Protobuf message size limit of 2GB exceeded during final stage of diffing large binariesĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
Tất cả issue của google/bindiff
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
component/zeebe kind/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
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 78/100
UniversalMediaServer/UniversalMediaServer#6356 ·
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 88/100
refinedmods/refinedstorage2#1414 · 1 bình luận ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
yegor256/rultor-image#76 · 1 bình luận ·