• Thibaud Michaud's avatar
    [wasm][fuzzer] Allow Liftoff as a reference tier · 3deb8218
    Thibaud Michaud authored
    Add an option to use Liftoff instead of the interpreter as the reference
    tier for fuzzing. The tier to use is chosen based on the input data
    before generating the module. This way, the module can use features
    depending on what is available in the reference tier, and we still get a
    chance to find correctness issues that would only be detected by the
    interpreter.
    
    R=clemensb@chromium.org
    
    Bug: v8:11856
    Change-Id: I2e9878345355a37caec5fdb338dda42a84e8e63a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3008645
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#75633}
    3deb8218
wasm-fuzzer-common.cc 20.2 KB