Siblings of #5630: call-graph clean-file disagreements vs libclang (puredoom triage)

Chiusa
#6,770 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
devtools, testing

Direzione di ricerca

Start with clang_callgraph.py and compare its call-graph edges against libclang for the three listed cases: dead preprocessor branches, macro-body calls, and header-defined static inline functions. The issue gives disagreement counts and example projects and headers; first decide whether macro expansion should be supported or documented as a limit. Done means the disagreements are resolved or the limitation is documented, and the puredoom call-graph check for #6266 can pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

scope:core testing

Siblings of #5630 (PR #6769 triage of the 78 clean-file disagreements; DOOM-rosetta needs these to pass the call-graph check, #6266).

  • Dead preprocessor branches: calls_out_to reads #if 0 and never-defined #if defined(X) text (27 engine-only edges on puredoom). Different mechanism from closed #2814.
  • Macro-body calls attributed to no caller (37 edges: puredoom 34, inter-doom stbiw__sbgrow 3). Decide: expand at use site, or accept as a documented limit.
  • Reference blind spot: libclang reference lists no edges for static inline functions defined in headers (14 edges in nugget-doom, woof, doomretro; p_saveg.h, m_array.h). Fix in clang_callgraph.py.

Burned-estate need: puredoom call-graph check (#6266).

Lingua principale
Python
Stelle
57
Fork
11
Merge medio
1h 30m
PR unite (30g)
973

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 squid-protocol/gitgalaxy

Tutte le issue di squid-protocol/gitgalaxy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.