Fuzz the format loaders, CONTRIBUTING.md, v0.8.0 release prep - #4
Merged
Conversation
tests/test_format_fuzz.cpp (6th suite, wired into make run/run-release and therefore into every CI job including ASan+UBSan): 2,000 seeded random mutations per format - bit flips, random overwrites, truncations, extensions, biased toward both header and body - against the EVEC, EVHG, and EVRT loaders, asserting the loader contract on every file: never crash, always a status, rejected loads leave the object empty (graph additionally integrity-valid), accepted loads satisfy full structural invariants with in-bounds data access. 6,000 hostile files pass, natively and under ASan+UBSan. CONTRIBUTING.md: build/test instructions and the engineering rules a PR is held to (allocation gate, memcpy-only aliasing, status-value errors, fuzz coverage for format fields, bit-identical kernels, -Werror + sanitizers). README: FetchContent snippet pins GIT_TAG v0.8.0 (tag created on merge) and the test-coverage paragraph documents the fuzzing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017ULiWeodALX2ZQiLKvTw25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tests/test_format_fuzz.cpp(6th suite, runs in every CI job incl. ASan): 2,000 seeded mutations per format against the EVEC/EVHG/EVRT loaders — never crash, always a status, rejected loads leave objects empty, accepted loads satisfy full invariants. 6,000 hostile files pass natively and under ASan+UBSan.v0.8.0(tag to be created on the merge commit).🤖 Generated with Claude Code
https://claude.ai/code/session_017ULiWeodALX2ZQiLKvTw25