Most integration tests assert nothing (crash test passes without finding a crash)

Đang mở
#436 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 1 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
55/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ệ
rust
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start with tests/x86_64_magic_crash_latest.rs at the linked lines and compare its outcome checks with tests/x86_64_edk2_timeout_latest.rs. Then inspect pure functions such as the tokenizer and comparison arithmetic for unit test opportunities. Done means the crash test verifies that a solution was found and selected untested behavior has meaningful regression tests; the issue notes that SIMICS reproduction has not been done.

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

Mô tả

Where

Problem
The test prints output and returns Ok(()); it passes whenever 100 iterations finish before the watchdog. Only the timeout, exception-metadata and null-string tests assert outcomes. Untested areas: src/arch/arm.rs, src/arch/aarch64.rs, all Windows support, source coverage, execution traces, use_initial_as_corpus, keep_all_corpus, start_without_buffer, start_with_buffer_ptr_size_ptr_value, breakpoint solutions; no unit tests in src/.

Impact
Regressions in solution detection go unnoticed.

Suggested fix
Assert solutions exist (reuse the listing in tests/x86_64_edk2_timeout_latest.rs), and add unit tests for pure functions (tokenizer, cmp arithmetic).

Status
Confirmed by reading the code at 79972db. Found by reading the code; not reproduced under SIMICS.

Ngôn ngữ chính
Rust
Star
335
Fork
26
Merge trung bình
1 ngày 50 phút
Pull request đã merge (30 ngày)
12

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 intel/tsffs

Tất cả issue của intel/tsffs

Issue tương tự

Thêm issue về Rust

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.