Stream: git-wasmtime

Topic: wasmtime / PR #4047 Turn on the regalloc2 checker in the ...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2022 at 22:15):

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.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2022 at 22:15):

cfallin requested alexcrichton for a review on PR #4047.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2022 at 22:15):

cfallin requested fitzgen for a review on PR #4047.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2022 at 22:26):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 18 2022 at 22:47):

cfallin merged PR #4047.


Last updated: Oct 23 2024 at 20:03 UTC