Skip to content

Small changes to facilitate fuzzing #7970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged

Conversation

andyleiserson
Copy link
Contributor

My fuzzing setup is still WIP and not in a condition to merge, but these changes are small and can stand alone.

  • Avoid a crash if deserializing a zero ID from a trace
  • Make some crash messages more distinctive so it's easier to catch and identify them.

Testing
Not a lot to test here but I have exercised it locally.

Squash or Rebase? Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@andyleiserson andyleiserson requested a review from a team as a code owner July 19, 2025 17:45
@teoxoy teoxoy merged commit 2c81896 into gfx-rs:trunk Jul 21, 2025
40 checks passed
@andyleiserson andyleiserson deleted the fuzz-friendly branch July 21, 2025 19:01
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.

2 participants