tests: Add fuzzing harness for CheckBlock(...) and other CBlock related functions - #17071
Conversation
05d1ec5 to
6cb9c96
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
cec65bb to
0efdeb6
Compare
0efdeb6 to
4dbd07b
Compare
4dbd07b to
381ed33
Compare
381ed33 to
67922dc
Compare
|
Rebased! :) |
67922dc to
64eb9b6
Compare
|
Rebased and added a fuzzing harness for |
|
bitcoin/src/consensus/merkle.cpp Lines 75 to 84 in d0f81a9
Update: Working around this by simply skipping the call to |
64eb9b6 to
88915e0
Compare
88915e0 to
4efa427
Compare
|
Rebased! :) |
|
Should be ready for final review :) |
1647af9 to
c5d08da
Compare
|
ACK c5d08da5c38e4140f4b9465f3e8159bcd7874ab2 |
c5d08da to
dec2e98
Compare
dec2e98 to
230b692
Compare
230b692 to
893aa20
Compare
…r CBlock related functions 893aa20 tests: Add fuzzing harness for CheckBlock(...) and other CBlock related functions (practicalswift) ec8dcb0 tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus (practicalswift) Pull request description: Add fuzzing harness for `CheckBlock(...)` and other `CBlock` related functions. **Testing this PR** Run: ``` $ CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/block … # And to to quickly verify that the relevant code regions are triggered, that the # fuzzing throughput seems reasonable, etc. $ contrib/devtools/test_fuzzing_harnesses.sh '^block$' ``` `test_fuzzing_harnesses.sh` can be found in PR #17000. Top commit has no ACKs. Tree-SHA512: 275abd46d8ac970b28d8176f59124988b1e07c070173e001acd55995b830333417f301c309199fc589da08a6ac4c03aa74650d5e1638f6e3023dfbd3c9f6921d
…ed functions Summary: ``` Add fuzzing harness for CheckBlock(...) and other CBlock related functions. ``` Backport of core [[bitcoin/bitcoin#17071 | PR17071]]. The missing corpora change is not relevant for us. Test Plan: ninja bitcoin-fuzzers ./test/fuzz/test_runner.py <path_to_corpus> Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8151
…nd other CBlock related functions 893aa20 tests: Add fuzzing harness for CheckBlock(...) and other CBlock related functions (practicalswift) ec8dcb0 tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus (practicalswift) Pull request description: Add fuzzing harness for `CheckBlock(...)` and other `CBlock` related functions. **Testing this PR** Run: ``` $ CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/block … # And to to quickly verify that the relevant code regions are triggered, that the # fuzzing throughput seems reasonable, etc. $ contrib/devtools/test_fuzzing_harnesses.sh '^block$' ``` `test_fuzzing_harnesses.sh` can be found in PR bitcoin#17000. Top commit has no ACKs. Tree-SHA512: 275abd46d8ac970b28d8176f59124988b1e07c070173e001acd55995b830333417f301c309199fc589da08a6ac4c03aa74650d5e1638f6e3023dfbd3c9f6921d
merge bitcoin#17071...bitcoin#18206: fuzzing harness backports (part 1)
Add fuzzing harness for
CheckBlock(...)and otherCBlockrelated functions.Testing this PR
Run:
test_fuzzing_harnesses.shcan be found in PR #17000.