cargo-fuzz icon indicating copy to clipboard operation
cargo-fuzz copied to clipboard

Command line helpers for fuzzing

Results 115 cargo-fuzz issues
Sort by recently updated
recently updated
newest added

I'm looking into fuzzing parts of Rust standard library to detect bugs such as [CVE-2018-1000810](https://bugzilla.redhat.com/show_bug.cgi?id=1632932). See also: [the fix](https://github.com/rust-lang/rust/pull/54397). However, this is currently impossible with cargo-fuzz because it passes `-Cpanic=abort`...

This surfaces when calling `cargo fuzz tmin ` where `` is a filename with special shell characters (honggfuzz produces those by default). I don't know how the shell is called...

help wanted

[Libfuzzer supports user-supplied mutators for structure-aware fuzzing.](https://github.com/google/fuzzer-test-suite/blob/530dae991ed41b4214a2a36844fecdf3f246cab9/tutorial/structure-aware-fuzzing.md) The user should provide a function ```cpp extern "C" size_t LLVMFuzzerCustomMutator( uint8_t *Data, size_t Size, size_t MaxSize, unsigned int Seed ) ``` that...

I've used libfuzzer a lot in C++, and decided to try it in Rust as my first project. This is probably a beginner issue, but I managed to switch to...

The release contains a Cargo.lock, but it can't be used for locked builds. This is probably because cargo hasn't been re-run after bumping the version.

In trying to minimize a crash that had a rather large input into something more manageable I tried ``` rustup run nightly cargo fuzz run $TESTNAME -- -max_len=200 -minimize_crash=1 -runs=500...

A new fuzzer that the authors claim is vastly superior to AFL and family (libfuzzer, honggfuzz) has just been released: https://github.com/AngoraFuzzer/Angora Using it directly is kind of a pain due...

I was trying out `cargo fuzz init` on a rust project that only had a `main.rs` but no `lib.rs`. As a consequence, the generated file `fuzz_target_1.rs` failed to build: ```bash...

For fuzzing, I always have to make sure my crate type is set to rlib, or rlib and staticlib. Reversing the order or adding the bin crate type leads to...

question

After upgrading to the newest published cargo-fuzz, I'm now getting this error when running `cargo fuzz run`: ``` error: could not decode the manifest file at "/Volumes/git/epoch2/soho/Cargo.toml" caused by: redefinition...