-
Notifications
You must be signed in to change notification settings - Fork 49
Comparing changes
Open a pull request
base repository: rust-fuzz/libfuzzer
base: 0.4.4
head repository: rust-fuzz/libfuzzer
compare: 0.4.5
- 8 commits
- 3 files changed
- 3 contributors
Commits on Sep 6, 2022
-
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`)
Configuration menu - View commit details
-
Copy full SHA for 63b9226 - Browse repository at this point
Copy the full SHA 63b9226View commit details -
Merge pull request #95 from alexcrichton/add-inline-never-frame
Force at least one unique stack frame per fuzzer
Configuration menu - View commit details
-
Copy full SHA for 64ad66a - Browse repository at this point
Copy the full SHA 64ad66aView commit details
Commits on Oct 1, 2022
-
Enable keep/reject inputs from the corpus
This allows the fuzz target to indiciate whether an input was useful for the fuzz testing by returning Corpus::Keep or Corpus::Reject. Backwards compatibility is preserved by coercing the unit type () to Corpus::Keep. This maps to 0 (Keep) and -1 (Reject) in the libFuzzer API: https://llvm.org/docs/LibFuzzer.html#rejecting-unwanted-inputs
Configuration menu - View commit details
-
Copy full SHA for dfe756f - Browse repository at this point
Copy the full SHA dfe756fView commit details
Commits on Oct 17, 2022
-
Add changes suggested from code review.
Docs: make it explicit that we're ignoring the return value of the function under test. Add comments from libfuzzer explaining why one might want to keep inputs out of the corpus. Convert From<Corpus> to i32 to a pub fn to_libfuzzer_code() that is impl on Corpus to avoid accidental conversion.
Configuration menu - View commit details
-
Copy full SHA for 028f4e1 - Browse repository at this point
Copy the full SHA 028f4e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ae224a - Browse repository at this point
Copy the full SHA 7ae224aView commit details
Commits on Oct 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a0499e - Browse repository at this point
Copy the full SHA 1a0499eView commit details -
Merge pull request #97 from dacut/corpus
Enable keep/reject inputs from the corpus
Configuration menu - View commit details
-
Copy full SHA for 393082d - Browse repository at this point
Copy the full SHA 393082dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 396dc4c - Browse repository at this point
Copy the full SHA 396dc4cView 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.4...0.4.5