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

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

Đã đóng
#6,770 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/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ệ
python
Lĩnh vực
devtools, testing

Hướng nghiên cứu

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.

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

Mô tả

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).

Ngôn ngữ chính
Python
Star
57
Fork
11
Merge trung bình
1 giờ 14 phút
Pull request đã merge (30 ngày)
967

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

Tất cả issue của squid-protocol/gitgalaxy

Issue tương tự

Thêm issue về Python

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.