-
Notifications
You must be signed in to change notification settings - Fork 211
Add abitrary fuzzing #1306
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
Add abitrary fuzzing #1306
Conversation
|
Benchmark Results for unmodified programs 🚀
|
|
@Juan-M-V please can you solve the conflicts and check the failing CI workflows |
Codecov Report
@@ Coverage Diff @@
## main #1306 +/- ##
=======================================
Coverage 97.88% 97.88%
=======================================
Files 89 89
Lines 35469 35469
=======================================
Hits 34719 34719
Misses 750 750
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
…s into add-abitrary-fuzzing
This reverts commit 6b5a95a.
…s into add-abitrary-fuzzing
* Create fuzzer * Remove cli * Update fuzzer * Change fuzzer name * Add arbitrary * Add fuzzer using arbitrary * Add fuzzer * Use run until steps * Remove end * Update changelog * Update CHANGELOG.md * Update CHANGELOG.md * Change macro cfg * Update bincode * Update Arbitrary deps * Check for std with arbitrary * Update Cargo.toml * Revert "Update bincode" This reverts commit 6b5a95a. * Revert to update bincode * Fix arbitrary imports * Run linter * Run linter --------- Co-authored-by: Juanma <[email protected]> Co-authored-by: Pedro Fontana <[email protected]>
* Create fuzzer * Remove cli * Update fuzzer * Change fuzzer name * Add arbitrary * Add fuzzer using arbitrary * Add fuzzer * Use run until steps * Remove end * Update changelog * Update CHANGELOG.md * Update CHANGELOG.md * Change macro cfg * Update bincode * Update Arbitrary deps * Check for std with arbitrary * Update Cargo.toml * Revert "Update bincode" This reverts commit 6b5a95a. * Revert to update bincode * Fix arbitrary imports * Run linter * Run linter --------- Co-authored-by: Juanma <[email protected]> Co-authored-by: Pedro Fontana <[email protected]>
Add arbitrary and create a fuzzer using arbitrary for programs
Description
The arbitrary crate provides a derive macro to allow structs to be generated easily from random bytes. This is useful for proptests or structure aware fuzzers.
A feature was added to the VM and the felt crate to give the arbitrary derive to the Program and CairoRunConfig structs. Also a fuzzer using this feature was created.
Checklist