rust-fuzz / honggfuzz-rs

Fuzz your Rust code with Google-developed Honggfuzz !
https://crates.io/crates/honggfuzz
Apache License 2.0
449 stars 40 forks source link

Exit code is 0 even if there is crash or timeout #16

Open breezewish opened 5 years ago

PaulGrandperrin commented 5 years ago

Oh, I'm just curious, are you trying to use honggfuzz-rs with tikv? I forked tikv a few weeks ago to add honggfuzz-rs to this project but I didn't finish ;-)

breezewish commented 5 years ago

@PaulGrandperrin Yes! :P I'm working on this PR: https://github.com/tikv/tikv/pull/3848. The framework is adapted from https://github.com/rust-fuzz/targets (but will run on our own testing infra). Currently the main blocking stone of using honggfuzz is that, TiKV as a library is too large :( But, it's fine to introduce the framework as the first step!

joncinque commented 3 years ago

As a workaround for this, you check for new files matching ./hfuzz_workspace/"$fuzz_target"/*.fuzz to judge if something crashed.