Fix args in fuzzers/fuzzbench

This commit is contained in:
Andrea Fioraldi 2021-06-21 14:17:35 +02:00
parent fee9cae8ed
commit ea40c21533

View File

@ -220,8 +220,7 @@ fn fuzz(
// The actual target run starts here. // The actual target run starts here.
// Call LLVMFUzzerInitialize() if present. // Call LLVMFUzzerInitialize() if present.
// let args: Vec<String> = env::args().collect(); let args: Vec<String> = env::args().collect();
let args = [];
if libfuzzer_initialize(&args) == -1 { if libfuzzer_initialize(&args) == -1 {
println!("Warning: LLVMFuzzerInitialize failed with -1") println!("Warning: LLVMFuzzerInitialize failed with -1")
} }