Wrong count for local changes in Enterprise Server

Đang mở
#8,727 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/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
Lĩnh vực
backend

Hướng nghiên cứu

Start by locating the Enterprise Server remote project code that tracks and reports local changes; the issue does not name a file or test. Reproduce by opening a remote project and editing its database once, then trace how the change count is calculated and displayed. Done when the reported count matches the actual local edits after the first change.

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

Mô tả

Version and Platform (required):

  • Binary Ninja Version: 6.1.11155-dev
  • Edition: Ultimate
  • OS: Ubuntu Linux
  • OS Version: 24.04
  • CPU Architecture: x64

Bug Description:

The count of the local changes to update is wrong reporting 18446744073709551 changes to push. It seems like an integer underglow more than anything since it happens after the first change.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Open a remote project
  2. Start editing the DB
  3. After the first change the count starts to break

Expected Behavior:

It should report the correct number of edits

Screenshots/Video Recording:

wrong_count_anon`

Binary:

N/A

Additional Information:

I created the project on the server from a bndb that i created initially on my disk and the uploaded as db in the project

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.