Skip to content

tests: Don't limit fuzzing inputs to 1 MB for afl-fuzz (now: ∞ ∀ fuzzers) - #19052

Merged
maflcko merged 1 commit into
bitcoin:masterfrom
practicalswift:remove-afl-limit
May 22, 2020
Merged

maflcko merged 1 commit into
bitcoin:masterfrom
practicalswift:remove-afl-limit

Conversation

@practicalswift

Copy link
Copy Markdown
Contributor

Don't limit fuzzing inputs to 1 MB for afl-fuzz.

This change provides a level playing field for all fuzzers which allows for fair benchmarking using projects such as the excellent FuzzBench project.

Prior to this commit we limited afl-fuzz to ≤1 MB inputs but allowed unlimited length inputs for all other fuzzers.

@fanquake fanquake added the Tests label May 22, 2020
@maflcko

maflcko commented May 22, 2020

Copy link
Copy Markdown
Member

ACK 6a239e7 The maximum data size should be a runtime option, not a compile time hardcoded value.

Comment thread src/test/fuzz/fuzz.cpp Resolved
@maflcko
maflcko merged commit fa3288c into bitcoin:master May 22, 2020
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jan 26, 2021
…ers)

Summary:
```
This change provides a level playing field for all fuzzers which allows
for fair benchmarking using projects such as the excellent FuzzBench
project.

Prior to this commit we limited afl-fuzz to ≤1 MB inputs but allowed
unlimited length inputs for all other fuzzers.
```

Backport of core [[bitcoin/bitcoin#19052 | PR19052]].

Test Plan:
  ninja bitcoin-fuzzers
  ./test/fuzz/test_runner.py <path_to_corpus>

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Differential Revision: https://reviews.bitcoinabc.org/D9062
@practicalswift
practicalswift deleted the remove-afl-limit branch April 10, 2021 19:41
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Sep 19, 2021
…l-fuzz (now: ∞ ∀ fuzzers)

6a239e7 tests: Don't limit fuzzing inputs to 1 MB for afl-fuzz (now: ∞ ∀ fuzzers) (practicalswift)

Pull request description:

  Don't limit fuzzing inputs to 1 MB for `afl-fuzz`.

  This change provides a level playing field for all fuzzers which allows for fair benchmarking using projects such as the excellent [FuzzBench](https://github.com/google/fuzzbench) project.

  Prior to this commit we limited `afl-fuzz` to ≤1 MB inputs but allowed unlimited length inputs for all other fuzzers.

ACKs for top commit:
  MarcoFalke:
    ACK 6a239e7 The maximum data size should be a runtime option, not a compile time hardcoded value.

Tree-SHA512: dad176ae39aa09fe919e057008ab0670b9da72909bfeb8f0e8b9ae93b65514f2e25a1d51be89a32be9122fc412edf49234dfd9a44beb974b25fda387fd7bf174
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants