-
Notifications
You must be signed in to change notification settings - Fork 50
Comparing changes
Open a pull request
base repository: rust-fuzz/libfuzzer
base: 0.4.2
head repository: rust-fuzz/libfuzzer
compare: 0.4.3
- 10 commits
- 21 files changed
- 4 contributors
Commits on Aug 24, 2021
-
Use absolute path to fuzz_target! macro in macro recursion
For fuzz targets that use `libfuzzer_sys::fuzz_target!(|arg: &[u8]| {})` directly without `#[macro_use]`ing `libfuzzer_sys`, the compilation failed: error: cannot find macro `fuzz_target` in this scope --> [$HOME]/.cargo/registry/src/github.com-1ecc6299db9ec823/libfuzzer-sys-0.4.2/src/lib.rs:161:9 | 137 | / macro_rules! fuzz_target { 138 | | (|$bytes:ident| $body:block) => { 139 | | /// Auto-generated function 140 | | #[no_mangle] ... | 161 | | fuzz_target!(|$data| $body); | | ^^^^^^^^^^^ ... | 207 | | }; 208 | | } | |_- in this expansion of `libfuzzer_sys::fuzz_target!` | ::: fuzz_targets/bare.rs:3:1 | 3 | / libfuzzer_sys::fuzz_target!(|data: &[u8]| { 4 | | // fuzzed code goes here 5 | | }); | |___- in this macro invocation | = note: consider importing this macro: libfuzzer_sys::fuzz_targetConfiguration menu - View commit details
-
Copy full SHA for fd836d6 - Browse repository at this point
Copy the full SHA fd836d6View commit details -
Merge pull request #84 from Xiretza/absolute-crate-path
Use absolute path to fuzz_target! macro in macro recursion
Configuration menu - View commit details
-
Copy full SHA for fcf3b18 - Browse repository at this point
Copy the full SHA fcf3b18View commit details
Commits on Jan 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 689ed3f - Browse repository at this point
Copy the full SHA 689ed3fView commit details
Commits on Jan 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 55faf5a - Browse repository at this point
Copy the full SHA 55faf5aView commit details
Commits on Mar 3, 2022
-
CI: build with a single codegen unit
This is not ideal, but it does provide two things: 1. It fixes bizarre linker errors about missing `sancov` symbols. 2. It allows LLVM to do inlining that it otherwise refuses to do. For some reason, when sanitizers are enabled, LLVM refuses to inline across codegen units. This is a problem because trivial methods like `Vec::len` won't be inlined, resulting in 100x slowdowns. `cargo fuzz` already restricts its builds to a single codegen unit, so we might as well do the same thing in CI here.
Configuration menu - View commit details
-
Copy full SHA for d4d1c46 - Browse repository at this point
Copy the full SHA d4d1c46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aa53e0 - Browse repository at this point
Copy the full SHA 1aa53e0View commit details -
Merge pull request #89 from fitzgen/update-libfuzzer-60e32a1
Update libFuzzer to llvm/llvm-project@60e32a1
Configuration menu - View commit details
-
Copy full SHA for 76f10a7 - Browse repository at this point
Copy the full SHA 76f10a7View commit details -
Migrate to using
cargo fuzzin CIThis commit migrates CI to using the `cargo fuzz` binary with its settings for compiling Rust code to avoid mismatches like the codegen unit issue found in #89
Configuration menu - View commit details
-
Copy full SHA for f6d78f0 - Browse repository at this point
Copy the full SHA f6d78f0View commit details -
Merge pull request #91 from alexcrichton/cargo-fuzz-in-ci
Migrate to using `cargo fuzz` in CI
Configuration menu - View commit details
-
Copy full SHA for 2ad33f8 - Browse repository at this point
Copy the full SHA 2ad33f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 413820e - Browse repository at this point
Copy the full SHA 413820eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.4.2...0.4.3