Changes from review comments.

This commit is contained in:
Chris Fallin
2021-04-18 13:02:05 -07:00
parent a08b0121a0
commit 940c1b719d
16 changed files with 85 additions and 9 deletions

1
fuzz/.gitignore vendored
View File

@@ -1,4 +1,3 @@
target
corpus
artifacts

View File

@@ -1,4 +1,3 @@
[package]
name = "regalloc2-fuzz"
version = "0.0.0"

View File

@@ -1,3 +1,8 @@
/*
* Released under the terms of the Apache 2.0 license with LLVM
* exception. See `LICENSE` for details.
*/
#![no_main]
use libfuzzer_sys::arbitrary::{Arbitrary, Result, Unstructured};
use libfuzzer_sys::fuzz_target;

View File

@@ -1,3 +1,8 @@
/*
* Released under the terms of the Apache 2.0 license with LLVM
* exception. See `LICENSE` for details.
*/
#![no_main]
use libfuzzer_sys::fuzz_target;

View File

@@ -1,3 +1,8 @@
/*
* Released under the terms of the Apache 2.0 license with LLVM
* exception. See `LICENSE` for details.
*/
#![no_main]
use libfuzzer_sys::fuzz_target;
use libfuzzer_sys::arbitrary::{Arbitrary, Unstructured, Result};

View File

@@ -1,3 +1,8 @@
/*
* Released under the terms of the Apache 2.0 license with LLVM
* exception. See `LICENSE` for details.
*/
#![no_main]
use libfuzzer_sys::arbitrary::{Arbitrary, Result, Unstructured};
use libfuzzer_sys::fuzz_target;

View File

@@ -1,3 +1,8 @@
/*
* Released under the terms of the Apache 2.0 license with LLVM
* exception. See `LICENSE` for details.
*/
#![no_main]
use libfuzzer_sys::arbitrary::{Arbitrary, Result, Unstructured};
use libfuzzer_sys::fuzz_target;
@@ -23,6 +28,8 @@ impl Arbitrary for TestCase {
control_flow: true,
reducible: false,
always_local_uses: false,
block_params: true,
reftypes: true,
},
)?,
})