Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force at least one unique stack frame per fuzzer #95

Merged
merged 1 commit into from Sep 6, 2022

Commits on Sep 6, 2022

  1. Force at least one unique stack frame per fuzzer

    This change is an attempt to address the behavior found at
    google/oss-fuzz#8389 where two distinct bugs were accidentally
    deduplicated into the same bug report. One of the reasons for this is
    that the stack traces between the two bugs were almost the same with
    only very minor differences. My hope is that by forcing a unique stack
    frame per fuzzer this will be less likely since there is guaranteed to
    be at least one stack frame per fuzz target which is unique with this
    change.
    
    While I was here I wrapped up the generated function by the
    `fuzz_target!` macro in a `const _: () = { ... }` to avoid adding this
    new `run` function in to the normal module's namespace and accidentally
    causing name collisions (e.g. if fuzz targets already have functions
    named `run`)
    alexcrichton committed Sep 6, 2022
    Copy the full SHA
    63b9226 View commit details
    Browse the repository at this point in the history