test: add cargo-fuzz eager parse harness#77
Conversation
|
Important Review skippedToo many files! This PR contains 300 files, which is 150 over the limit of 150. To get a review, narrow the scope: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (300)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
fuzz_parse_eagertargetserde_json::ValueThe differential oracle documents the known value-model differences: serde's numeric range checks and escaped unpaired UTF-16 surrogate handling. Deep nesting is capped out of this target so the dedicated depth target can own that boundary.
Closes #63.
Testing
cargo test --release— 299 Rust tests passedcargo +nightly fuzz run fuzz_parse_eager -- -max_total_time=60— 3,786,280 runs, no crashes or mismatchesgit diff --cached --checkbefore commit