Skip to content
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

Generate a set of fixtures for fuzzer from inspection of ACIR #5262

Closed
3 of 5 tasks
TomAFrench opened this issue Jun 17, 2024 · 0 comments · Fixed by #5264
Closed
3 of 5 tasks

Generate a set of fixtures for fuzzer from inspection of ACIR #5262

TomAFrench opened this issue Jun 17, 2024 · 0 comments · Fixed by #5264

Comments

@TomAFrench
Copy link
Member

TomAFrench commented Jun 17, 2024

This will get us to an MVP of blackbox fuzzing of Noir programs which will likely be pretty brittle. Foundry performs various tricks such as inspecting storage and constants which are referenced in the bytecode in order to improve performance. In future we'll want to do similar inspection of the generated ACIR to find interesting values and weight input generation to focus on the ranges of values around these values.

Improvements

github-merge-queue bot pushed a commit that referenced this issue Jun 20, 2024
# Description

## Problem\*

Resolves #5262
## Summary\*

This PR pulls out a bunch of relevant constants from the ACIR/brillig
bytecode so we can feed these into the fuzzer's strategy to ensure
proper coverage of these values.

## Additional Context



## Documentation\*

Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.

# PR Checklist\*

- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant