Part of the extraction-hardening epic (#813). See [`tests/extraction/how_to_harden_extraction.md`](https://github.com/squid-protocol/gitgalaxy/blob/main/tests/extraction/how_to_harden_extraction.md) for the full methodology this issue follows. ### Language: `cpp` Rules in scope (non-`None` in `LANGUAGE_DEFINITIONS["cpp"]["rules"]`): - [ ] func_start - [ ] args - [ ] class_start - [ ] _dependency_capture ### Checklist (per the methodology doc, for each in-scope rule above) - [ ] `valid`: modern idiom + legacy/historical syntax eras + testing-framework-shaped functions - [ ] `invalid`: string-literal lookalikes, type-level lookalikes, assignment-in-condition, macro-expansion lookalikes, and any language-specific lookalike shape - [ ] `pathological`: 10-15 cases covering annotation/attribute stacking, nested generics/templates, destructured/complex params, multi-line splits at every plausible boundary - [ ] Every case empirically verified against the real compiled regex before being added - [ ] Any genuine bug found is fixed (full ReDoS/lint/type/crucible discipline) or filed separately if it's a multi-language architectural fix - [ ] Migrated out of the four old monolithic dict files into `tests/extraction/languages/test_cpp.py` - [ ] Epic updated with any new recurring-bug-class findings before closing this issue
Activity
Fix squid-protocol#821: Extraction hardening for cpp (epic squid-prot…
fix(testing): tree-sitter accuracy audit still mis-measured C++ names…
fix(testing): tree-sitter accuracy audit couldn't name C/C++ functions (
fix(core): C++ func_start missed pointer/reference returns and mishan…
fix(core): C args regex never recognized custom typedef'd parameter t…