Enumeration member display should attempt to find minimal matching expression rather than checking if its a bitfield enumeration

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

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
42/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp
Lĩnh vực
reverse-engineering

Hướng nghiên cứu

Reproduce the behavior using the database "happy river sings easily" and inspect table entries at 0x3d7 and 0x3d9 with the enum entries present and removed as described. Trace where enumeration members are selected for display; done means each value uses the best matching expression or provides a way to resolve ambiguous entries.

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

Mô tả

Component: Core Effort: Low Impact: Low

Version and Platform (required):

  • Binary Ninja Version: 5.0.7290
  • OS: macOS
  • OS Version: 15.4.1
  • CPU Architecture: x64

Bug Description:
If an enum is applied to a list and there are some ambiguous entries, there isn't a way to determine which enum entry should be displayed.

Steps To Reproduce:

  1. Open database: "happy river sings easily"
  2. Go to table entry at 0x3d7 and 0x3d9
  3. Notice how these are not displayed ideally.
  4. Remove C_NONE and all the 0xf entries from the enum.
  5. Notice how some are displayed better, but there are still problems.

Expected Behavior:
The best display would be picked for each one. Or at least some way for me to help it figure out which to display.

Screenshots/Video Recording:

Image

vs

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

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.