Redesign/Reconcile the BinaryDataNotifications for the MemoryMap System

Đang mở
#6,501 1 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
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
api, reverse-engineering

Hướng nghiên cứu

Start by tracing MemoryMap::AddDataMemoryRegion and the BinaryDataNotification callbacks, especially OnSegmentUpdated and OnSegmentAdded. Reproduce the segment addition behavior in the DSC-style binary view described in the report, then verify that the added segment triggers OnSegmentAdded and is passed as the callback argument.

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

Mô tả

Component: Core Effort: Medium Impact: Medium

Version and Platform (required):

  • Binary Ninja Version: 4.3.7047-dev (0672492d)
  • OS: macOS
  • OS Version: 15.2
  • CPU Architecture: M1

Bug Description:
When calling MemoryMap::AddDataMemoryRegion to add segments to a binary view (like the DSC plugin does), it only triggers the binary view notification void BinaryDataNotification::OnSegmentUpdated(BinaryView* data, Segment* segment) and segment is always the first segment in the binary. So for the DSC view this is the DSC header segment from 0x180000000 to 0x180000208.

Expected Behavior:
The OnSegmentAdded callback should be called when adding segments using MemoryMap::AddDataMemoryRegion and the correct segment (the one that was just added) should be passed to the callback.

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.