Stream: git-wasmtime

Topic: wasmtime / PR #2106 Make spectest fuzzing more deterministic


view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 15:11):

alexcrichton opened PR #2106 from better-fuzzing to main:

Currently spectest fuzzing indexes into a compile-time-created array of
strings which is the list of input files, but the order of this array is
dependent on the filesystem that we're reading from. This means that
inputs from oss-fuzz may not be easily reproducible locally because
files could be read in different orders, so indexes could be distinct.

This commit instead reads the directory paths, then sorts them, then
includes them for testing. That way fuzz inputs at a specific commit
should be consistent.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 15:53):

fitzgen submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 06 2020 at 15:53):

fitzgen merged PR #2106.


Last updated: Oct 23 2024 at 20:03 UTC