Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Inputs: a file name starting with @ may be read as a response file by the compiler

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

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

@SizzleUnrlsd đang làm issue này rồi.

Từ ngày 16/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug severity/minor

#201 keeps ./ before a relative input that starts with -, so that no tool reads it as an option. A name that starts with @ may have the same problem one level down: gcc and clang read an argument @file as a response file, and expand its contents into command-line options.

Expected problem (not reproduced yet)

--input @F.c --dyn: the runtime analyzer passes @F.c to the compiler after its own --. If a file F.c exists, the compiler would expand its contents as options instead of compiling @F.c; otherwise it would fail on a missing response file.

To do

  • Check which tools read @ arguments: the compiler behind the runtime analyzer, and the in-process compilation of the stack and concurrency analyzers through coretrace-compiler.
  • If any does, extend notAnOption() (include/Process/Tools/InputPaths.hpp) to names starting with @, with a test like ctrace_input_starting_with_dash_is_a_file.

Found in the review of #201.

Ngôn ngữ chính
C++
Star
5
Fork
4
Merge trung bình
5 giờ 27 phút
Pull request đã merge (30 ngày)
71

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

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 CoreTrace/coretrace

Tất cả issue của CoreTrace/coretrace

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.