BinDiff GUI does not show merged ranges in the correct order
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/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
- desktop, reverse-engineering
Hướng nghiên cứu
Tái hiện vấn đề sắp xếp bằng report.zip đính kèm và chế độ xem đồ thị luồng của BinDiff GUI, sử dụng thiết lập IDA Pro đã mô tả. Theo dõi cách GUI sắp xếp các chỉ thị sau khi backend cung cấp chúng; hoàn tất khi hai chỉ thị mov xuất hiện trước chỉ thị ldp trong hàm được hiển thị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the bug
BinExport will merge basic blocks on unconditional branches, however if these blocks are not in increasing order of address, the UI will simply show the instructions in completely the wrong order. This can cause problems in lots of programs, but specifically causes major issues when combined with plugins like FunctionInliner that add unconditional branches to new segments.
To Reproduce
I have attached (report.zip) two programs to diff against to demonstrate the issue. The programs are compiled with: cc -o a -O0 a.S. If you diff them with BinDiff in IDA and compare the flow graphs in the BinDiff GUI, you will see that the following instructions appear at the end of the function, instead of their correct place before the ret:
mov x3, #0x43
mov x4, #0x44
Expected behavior
These two mov instructions should appear before the ldp x29, x30, [sp], 16 instruction. When the BinDiff backend iterates over the instructions in this function from BinExport, it does indeed iterate over it in the correct order, it is just the GUI that incorrectly sorts the instructions rather than leaving them in the same order from the backend.
Screenshots
Environment (please complete the following information):
- OS and version: Windows 11
- Locale: British English
- Disassembler and version: IDA Pro 8.4
Additional context
N/A
- 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 ·