Skip to content

Flag universe: covering arrays, transition walks, findings 9–11 - #21

Draft
zmaril wants to merge 11 commits into
mirth/propsfrom
mirth/flags
Draft

zmaril wants to merge 11 commits into
mirth/propsfrom
mirth/flags

Conversation

@zmaril

@zmaril zmaril commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Enumerates rustc's -C/-Z options, finds which values and pairs it rejects, sizes covering arrays over them, and walks option transitions on fixtures/sink.

  • rustc/flag-universe.py: domains from options.rs; every value alone, every pair (122,682 compilations).
  • rustc/flag-model.py: PICT model with the constraints found (1 pairwise exclusion, 17 needs; --cargo adds what a real workspace needs; --transitions doubles parameters for before/after).
  • rustc/flag-rows.py: compiles each row of a table (1,675 rows checked, 0 rejected).
  • rustc/flag-walk.py: clean A, rebuild B, clean B, compare; a difference is retried against up to 12 clean builds before it counts as reuse.
  • rustc/artifacts.py: session suffixes normalized in .dwo names and inside objects and binaries.
  • docs/flags.md: sizes (pairwise 166 rows for all 206 options, three-way 1,746) and walk results.
  • docs/hunt.md, docs/hunt/*.md, docs/hunt/repro.sh: findings 9 (dylib link failure with -Cno-prepopulate-passes), 10 (ThinLTO input order nondeterminism with -Clto=thin and incremental), 11 (ICE after a -Zprint-type-sizes session). The fact pages are facts for reports, not reports.

Stacked on #20.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh

zmaril and others added 11 commits October 8, 2026 12:01
…ays, walk transitions on sink

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…d reproductions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…ls; edits moved to mutations.py

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…g them), flag-min.py; finding 12 (rwpi segfault), finding 9 variant

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…heck, flag-campaign.sh; stopgaps for findings 9-12

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…but-patched exclusions behind --allow-known; crashes count as ICEs in flag-walk

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…ag-min: numbers out of error signatures; walk saves the A log on a crash

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
…ormat=json (interleaved stderr)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Mnrg9JXj9X1ht6Qkz2ybh
@zmaril
zmaril marked this pull request as draft October 8, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant