Can't Diff and Port same named executables at the same time
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ệ
- java
- Lĩnh vực
- reverse-engineering
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lỗi với hai phiên BinDiff chạy đồng thời sử dụng các IDB cùng tên, theo quy trình diff và port đã mô tả trên Windows với IDA 7.5 hoặc 7.6. Theo dõi cách BinExport, BinDiff và cơ sở dữ liệu tạm thời dùng chung đặt tên cho các tệp của chúng, đồng thời xác định riêng điểm xung đột. Công việc được xem là hoàn tất khi hai thao tác diff-and-port đồng thời hoàn thành mà không xảy ra lỗi hoặc hỏng dữ liệu.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Do to the way Binexport and/or Bindiff names it's temp files, you can not successfully do more than one diff and/or port at the same time.
The problem is because the tools use the same temp folder and the temp DBs that are created have the same names since they use the the original base name of the executable. Plus a common/global DB named "temporary.database" is already in use.
Example session for the IDB name problem:
If you made an IDB of an executable named "foobar.exe" and saved it "foobar_a.exe.i64" and another of the same named exe (from an update or something) "foobar_b.exe.i64" the tools will name them all "foobar.BinExport" since the tools name these internally based on the base name.
Normally not a problem for a single IDB operation since the DB files are separated path structure "BinDiff\primary" and "BinDiff\secondary". But if you open one more additional sessions (different "ida64.exe" processes) with "foobar_aa.exe.i64" and "foobar_bb.exe.i64" now the conflict exists because these names are taken plus "temporary.database" is already used.
Steps to reproduce the problem:
- The normal modus operandi, BinDiff an older executable with a new then port symbols and comments using the port feature. But attempting to do more than one at the same time.
What is the expected behavior?
Expected to be able to Diff and port two different IDA IDBs at the same time on the same machine.
What went wrong?
At least the port feature will fail when it is started, and probably results in diff corruption.
What version of the product are you using? On what operating system?
"BinDiff 7 (latest version, updated)", IDA 7.6 and IDA 7.5 on Windows 10 21h1
Any other comments?
As a solution, consider adding a top level root folder called "Session438" or something where the "438" number is the PID of the host "ida64.exe". An easy way to serialize the the folder structure with a UUID.
Ported from b/200299139
- 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
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 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ự
-
certification
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Đang mởbug ecr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Needs: Triage Type: Feature request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
github/copilot-sdk#2760 ·