Open emk opened 7 years ago
Also note that coverage numbers drop drastically, probably because of the elimination of basic blocks by the optimizer. But the corpus remains the same size.
This may not necessarily be desirable because building unsafe code with opt-level = 0
is likely to leave more (most, though not all) dynamically reachable UB as it is. But it should be fine with safe code only; so a commented-by-default line with an explanation in Cargo.toml would be harmless and instructive.
Or perhaps we could leave profiles alone and just mention the cargo fuzz run foo --release
invocation in README. Though it ought to be obvious to anyone with even little Rust experience.
IIRC this issue predates the --release
flag.
By adding the following to
fuzz/Cargo.toml
:…I improve fuzzer throughput from:
...to:
What would the tradeoffs be for including this in the default
Cargo.toml
, or at least documenting it?