Olympus: reject invalid mesh branch targets #16

Manually merged
github merged 1 commit from gh-pr/16/head into gh-pr/16/base 2026-11-26 04:04:18 +00:00
Owner

@⁠bmjask on GitHub · 2026-11-21 18:45 UTC · original
bmjask:codex/olympus-mesh-invalid-targets → main · +135 −0 · 2 files · 1 commits · merged 2026-11-21 19:06 UTC

Makes direct-branch analysis fail closed when a target is misaligned, outside the decoded program, or not an instruction start. Invalid targets are retained as structured report evidence even when the branch is unreachable, rather than disappearing when CFG successors are built. Fixed-wave32 geometry hazard screening rejects these programs just like incomplete decoding.

Validation:

  • 12 focused analyzer tests
  • geometry hazard regression test
  • full library suite: 233 passed, 13 ignored
  • diff and confidentiality scans clean
**@⁠bmjask** on GitHub · 2026-11-21 18:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/16) `bmjask:codex/olympus-mesh-invalid-targets` → `main` · +135 −0 · 2 files · 1 commits · merged 2026-11-21 19:06 UTC Makes direct-branch analysis fail closed when a target is misaligned, outside the decoded program, or not an instruction start. Invalid targets are retained as structured report evidence even when the branch is unreachable, rather than disappearing when CFG successors are built. Fixed-wave32 geometry hazard screening rejects these programs just like incomplete decoding. Validation: - 12 focused analyzer tests - geometry hazard regression test - full library suite: 233 passed, 13 ignored - diff and confidentiality scans clean
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:04:18 +00:00
github manually merged commit b8151eb543 into gh-pr/16/base 2026-11-26 04:04:18 +00:00
Author
Owner

@⁠ivall on GitHub · 2026-11-21 19:06 UTC · original

Thanks – merged, that's exactly the fail-closed behaviour I meant. Re-ran it over the 390 ES/GS programs in the shader pack: none has an invalid branch target and none gets a wave32 hazard, so nothing real is rejected. Library (234), GPU PSO and e2e suites pass.

**@⁠ivall** on GitHub · 2026-11-21 19:06 UTC · [original](https://github.com/xcl-dev/xcl/pull/16#issuecomment-7067769186) Thanks – merged, that's exactly the fail-closed behaviour I meant. Re-ran it over the 390 ES/GS programs in the shader pack: none has an invalid branch target and none gets a wave32 hazard, so nothing real is rejected. Library (234), GPU PSO and e2e suites pass.
This discussion has been locked. Commenting is limited to contributors.
No description provided.