rust: Fix flags for Rust libfuzzer fuzzers
Rust libfuzzer flags have changed upstream, so update our set of flags. This fixes the following fuzzer error: ERROR: The size of coverage PC tables does not match the number of instrumented PCs. This might be a compiler bug, please contact the libFuzzer developers. Bug: 249551848 Test: SANITIZE_TARGET="hwaddress fuzzer" m <fuzz_target> Test: Test running the fuzzer. Change-Id: I4f7df1fbe636133c646dfb0bd12757c947995ffe
This commit is contained in:
parent
b2cd6f6963
commit
1247b3c8a0
1 changed files with 1 additions and 2 deletions
|
@ -62,8 +62,7 @@ var fuzzerFlags = []string{
|
|||
"-C llvm-args=-sanitizer-coverage-level=3",
|
||||
"-C llvm-args=-sanitizer-coverage-trace-compares",
|
||||
"-C llvm-args=-sanitizer-coverage-inline-8bit-counters",
|
||||
"-C llvm-args=-sanitizer-coverage-trace-geps",
|
||||
"-C llvm-args=-sanitizer-coverage-prune-blocks=0",
|
||||
"-C llvm-args=-sanitizer-coverage-pc-table",
|
||||
|
||||
// See https://github.com/rust-fuzz/cargo-fuzz/pull/193
|
||||
"-C link-dead-code",
|
||||
|
|
Loading…
Reference in a new issue