PowerPC mulhdu lifting incorrect due to core analysis bug

Đang mở
#8,682 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

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
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp

Hướng nghiên cứu

The issue identifies incorrect core analysis folding for PowerPC mulhdu with both operands set to 1 << 32, where the high half should be 1 but HLIL shows 0. Start by reproducing that case and tracing the core analysis path that folds the 128-bit product; the payload names no source files or tests. Done when the analysis preserves the expected high half and the resulting HLIL is correct.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Originally posted by @zznop in https://github.com/Vector35/binaryninja-api/pull/8665#discussion_r4329638809

Not advocating that you should fix this as it's not your issue, but this code does expose it: for mulhdu with both operands equal to 1 << 32 the expected high half is 1. But instead our core analysis folds the 128-bit product to 0 leaving seemingly incorrect HLIL.

Image
Ngôn ngữ chính
C++
Star
1.3k
Fork
304
Merge trung bình
2 ngày 20 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Vector35/binaryninja-api

Tất cả issue của Vector35/binaryninja-api

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.