Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#203 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@SizzleUnrlsd ci sta già lavorando.

Dal 16/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
C++
Stelle
5
Fork
4
Merge medio
1h 57m
PR unite (30g)
88

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CoreTrace/coretrace

Tutte le issue di CoreTrace/coretrace

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.