cfallin opened PR #4047 from ra2-checker-while-fuzzing
to main
:
This tells Cranelift to run regalloc2's symbolic verifier on the results
of register allocation after compiling each function.We already fuzz regalloc2 independently, but that provides coverage
using regalloc2's purpose-built (synthetic)Function
implementation.
This fuzz target with this change, in contrast, exercises regalloc2 with
whatever particular details of generated code Cranelift generates.
Testing the whole pipeline together and ensuring that the register
allocation is still valid is at least as important as fuzzing regalloc2
independently, IMHO.Fuzzed locally for a brief time (~10M inputs) to smoke-test; let's see
what oss-fuzz can find (hopefully it's boring)!<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
cfallin requested alexcrichton for a review on PR #4047.
cfallin requested fitzgen for a review on PR #4047.
fitzgen submitted PR review.
cfallin merged PR #4047.
Last updated: Dec 23 2024 at 13:07 UTC