Lines Matching +full:cargo +full:- +full:fuzz
1 # The `libfuzzer-sys` Crate
5 The CPP parts are extracted from compiler-rt git repository with `git filter-branch`.
7 … The Rust compiler has built-in support for LLVM sanitizer support, for now, it's limited to Linux…
11 ### Use `cargo fuzz`!
13 [The recommended way to use this crate with `cargo fuzz`!][cargo-fuzz].
15 [cargo-fuzz]: https://github.com/rust-fuzz/cargo-fuzz
21 First create a new cargo project:
24 $ cargo new --bin fuzzed
28 Then add a dependency on the `fuzzer-sys` crate and your own crate:
32 libfuzzer-sys = "0.4.0"
36 Change the `fuzzed/src/main.rs` to fuzz your code:
44 // code to fuzz goes here
51 $ cargo rustc -- \
52 -C passes='sancov' \
53 -C llvm-args='-sanitizer-coverage-level=3' \
54 -C llvm-args='-sanitizer-coverage-inline-8bit-counters' \
55 -Z sanitizer=address
67 ./update-libfuzzer.sh <github.com/llvm-mirror/llvm-project SHA1>
74 Everything else is dual-licensed Apache 2.0 and MIT.