Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-fuzz/libfuzzer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.4.2
Choose a base ref
...
head repository: rust-fuzz/libfuzzer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.4.3
Choose a head ref
  • 10 commits
  • 21 files changed
  • 4 contributors

Commits on Aug 24, 2021

  1. 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_target
    Xiretza committed Aug 24, 2021
    Configuration menu
    Copy the full SHA
    fd836d6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #84 from Xiretza/absolute-crate-path

    Use absolute path to fuzz_target! macro in macro recursion
    fitzgen authored Aug 24, 2021
    Configuration menu
    Copy the full SHA
    fcf3b18 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2022

  1. Configuration menu
    Copy the full SHA
    689ed3f View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    55faf5a View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. 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.
    fitzgen committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    d4d1c46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1aa53e0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76f10a7 View commit details
    Browse the repository at this point in the history
  4. Migrate to using cargo fuzz in CI

    This 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
    alexcrichton committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    f6d78f0 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #91 from alexcrichton/cargo-fuzz-in-ci

    Migrate to using `cargo fuzz` in CI
    Manishearth authored Mar 3, 2022
    Configuration menu
    Copy the full SHA
    2ad33f8 View commit details
    Browse the repository at this point in the history
  6. Bump to version 0.4.3

    fitzgen committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    413820e View commit details
    Browse the repository at this point in the history
Loading