Repository navigation
C reference: FreeBSD/QNX/MVS platform groups, document the three expected findings (Part of #3784) - #6620
Merged
Conversation
…cted findings (Part of #3784) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Slice 7 of #3784. Adapter-only: no engine change, no golden bless.
What changed
tests/tools/clang_callgraph.py:__FreeBSD__,__QNX__,__MVS__joinPLATFORMS(three data rows).docs/graph_accuracy.md: a table mapping the issue's three expected findings (header-prototype calls, the C/C++ link group across translation units, call-like macros) to the reference rule and the test that pins each.tests/tools/test_call_graph_resolution_gate.py: one test for the new platform branches.tests/call_graph_resolution_c_baseline.json: regenerated.Measured (hiredis + libuv, libclang 18.1.1)
Confident links judged 4,264 -> 4,266, unmapped 237 -> 236, reference edges 11,608 -> 11,617; precision 100.0%, recall 36.7%, resolution recall 49.4% unchanged. The gain is small; the rows are cheap and harmless.
call_graph_resolution.py c --cipasses before and after.Class / Sibling gaps
Class: the C reference's platform link groups (macros that gate in-file branches) plus the coverage record for the issue's three expected findings. Members: Windows, Apple, AIX, Sun (earlier slices), FreeBSD, QNX, MVS (here); the three findings are all covered and tested. Sibling gaps: none in the reference. The remaining 236 unmapped C ends are engine-side (REDIS_TEST and SSL-only bodies, Qt adapter and example,
m4/macros): miss-sweep leads, not burned-estate related. C++ (fmt) has no platform-only sources.Gates:
pr_gates.py --fast7/7;test_call_graph_resolution_gate.py14 passed, 1 skipped (the Go toolchain test), run in a scratch venv with libclang==18.1.1 (the selfscan venv has no libclang, so there those tests skip).Acceptance of #3784 (reference, corpus, adapter, three expected findings) is met; the issue can close on merge.
Cross-repo: none.
🤖 Generated with Claude Code