feat(cpp): refresh the C++ sample against scanner fa2a00fb #8

Merged
amiryahaya merged 1 commit from cpp-refresh-scanner into main 2026-10-31 14:44:01 +01:00
Owner

Refreshes cpp/ after the cpp_ast fixes since 64fb577a (#1356, #1349, #1390, stringised-macro and lower-case CNG fixes, #1403, OpenSSL derived range 4.1.0).

  • Gaps the scanner now closes become reported expectations; decoys that no longer fire are plain absent fixtures.
  • Three still-real gaps (cng-mode-variable-string/-constant, cc-options-sum) keep the gap-control code exercised.
  • A project never takes another project's pin (#1390): own-project-rule rewritten, TREE_FALLBACK emptied.
  • Docs figures regenerated.

compare-scan vs scanner fa2a00fb (standard and comprehensive): expected 4249, reported 4249, exact 4249, 0 missing/extra/status/attribution/derived/key-size, 0 SKIPPED. make check-fresh passes. make check passes except compare-scan.test.mjs #144 (hardcodes /private/tmp; same on main on macOS). Container typecheck targets not run.

Review: dual pass, no Must fix. Left for a follow-up: the now-dead fallback/route code paths (attribution.mjs, gen-expected.mjs, check-pins.mjs, check-projects.mjs) and the tree/alone header grammar.

Merge with a merge commit so the stamped scanner commit stays an ancestor.

🤖 Generated with Claude Code

Refreshes cpp/ after the cpp_ast fixes since 64fb577a (#1356, #1349, #1390, stringised-macro and lower-case CNG fixes, #1403, OpenSSL derived range 4.1.0). - Gaps the scanner now closes become reported expectations; decoys that no longer fire are plain absent fixtures. - Three still-real gaps (cng-mode-variable-string/-constant, cc-options-sum) keep the gap-control code exercised. - A project never takes another project's pin (#1390): own-project-rule rewritten, TREE_FALLBACK emptied. - Docs figures regenerated. compare-scan vs scanner fa2a00fb (standard and comprehensive): expected 4249, reported 4249, exact 4249, 0 missing/extra/status/attribution/derived/key-size, 0 SKIPPED. make check-fresh passes. make check passes except compare-scan.test.mjs #144 (hardcodes /private/tmp; same on main on macOS). Container typecheck targets not run. Review: dual pass, no Must fix. Left for a follow-up: the now-dead fallback/route code paths (attribution.mjs, gen-expected.mjs, check-pins.mjs, check-projects.mjs) and the tree/alone header grammar. Merge with a merge commit so the stamped scanner commit stays an ancestor. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The sample's snapshots dated from scanner 64fb577a. Since then cpp_ast changed
(#1356, #1349, #1390, the stringised-macro and lower-case CNG fixes, #1403, and
the OpenSSL derived range reaching 4.1.0), so check-fresh and compare-scan failed.

- OpenSSL derived range 4.0.3 -> 4.1.0 everywhere; conan-above moves to a
  synthetic openssl 4.2.0 so it stays above the highest verified version.
- Gaps the scanner now closes become reported expectations: parenthesised
  refiner handle (RSA-4096), shadowed handle scope, CCCrypt options OR, the
  OpenSSL-named MD5 macros, lower-case CNG literals, C++-cast CNG modes, the
  Botan direct size and the CNG sized key pair. Stringised-macro and
  decltype/sizeof decoys are now plain absent decoys.
- Still-real gaps replace them so the gap machinery stays exercised: CNG mode
  held in a variable (two ids) and a CCCrypt options sum.
- A project never takes another project's pin (#1390): own-project-rule loses
  its tree-fallback expectations, TREE_FALLBACK is empty, controls rewritten.
- Docs figures regenerated; self-tests follow the new counts.

compare-scan against scanner fa2a00fb: expected 4249, reported 4249, exact 4249,
0 missing/extra/status/attribution/derived/key-size/SKIPPED, in the standard and
comprehensive profiles. make check passes except compare-scan.test.mjs #144 (it
hardcodes /private/tmp, which fails the same way on origin/main on macOS). The
container typecheck targets were not run (no engine here).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/triton-samples!8
No description provided.