-
Notifications
You must be signed in to change notification settings - Fork 38.6k
tests: Add fuzzing harnesses for classes/functions in policy/fees.h, checkqueue.h and cuckoocache.h. Add fuzzing coverage. #18565
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…>& s) to existing fuzzer
Member
|
ACK 283bd72 |
sidhujag
pushed a commit
to syscoin/syscoin
that referenced
this pull request
Apr 13, 2020
…ns in policy/fees.h, checkqueue.h and cuckoocache.h. Add fuzzing coverage. 283bd72 tests: Add coverage of {,Incremental}DynamicUsage(const std::set<X, Y>& s) to existing fuzzer (practicalswift) bf76000 tests: Add fuzzing harness for classes/functions in cuckoocache.h (practicalswift) 57890b2 tests: Add fuzzing harness for classes/functions in checkqueue.h (practicalswift) 2df5701 tests: Add coverage of GetVirtualTransactionSize(...) to existing fuzzer (practicalswift) 7b9a2dc tests: Add fuzzing harness for AdditionOverflow(...) (practicalswift) 44fb2a5 tests: Add fuzzing harness for FeeFilterRounder (practicalswift) Pull request description: Includes: ``` tests: Add fuzzing harness for FeeFilterRounder tests: Add fuzzing harness for classes/functions in checkqueue.h tests: Add fuzzing harness for classes/functions in cuckoocache.h tests: Add coverage of {,Incremental}DynamicUsage(const std::set<X, Y>& s) to existing fuzzer tests: Add coverage of GetVirtualTransactionSize(...) to existing fuzzer tests: Add fuzzing harness for AdditionOverflow(...) ``` See [`doc/fuzzing.md`](https://github.com/bitcoin/bitcoin/blob/master/doc/fuzzing.md) for information on how to fuzz Bitcoin Core. ACKs for top commit: MarcoFalke: ACK 283bd72 Tree-SHA512: 2361edfb5c47741b22d9fb996836c5250c5a26bc5e956039ea6a0c55ba2d36c78f241d66f85bc02f5b85b9b83d5fde56a5c4702b9d1b7ac4a9a3ae391ca79eaa
deadalnix
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Nov 5, 2020
Summary: This is a backport of Core [[bitcoin/bitcoin#17634 | PR17634]] [2/2] bitcoin/bitcoin@98fbd1c Depends on D8281 The header `algorithm` is needed in `cuckoocache.h` for `std::find` (see [[bitcoin/bitcoin#18565 | PR18565]]). I'm not sure how Core got away with removing it for multiple months, for us it cause a compiler error. Test Plan: `ninja && ninja check` Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D8282
Fabcien
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Jan 20, 2021
…checkqueue.h and cuckoocache.h. Add fuzzing coverage.
Summary:
```
Add fuzzing harness for FeeFilterRounder
Add fuzzing harness for classes/functions in checkqueue.h
Add fuzzing harness for classes/functions in cuckoocache.h
Add coverage of {,Incremental}DynamicUsage(const std::set<X, Y>&s) to existing fuzzer
Add coverage of GetVirtualTransactionSize(...) to existing fuzzer
Add fuzzing harness for AdditionOverflow(...)
```
Backport of core [[bitcoin/bitcoin#18565 | PR18565]].
Our cuckoocache requires a class as key since D4643.
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/D8987
kwvg
added a commit
to kwvg/dash
that referenced
this pull request
Jul 6, 2022
…heckqueue.h and cuckoocache.h. Add fuzzing coverage.
PastaPastaPasta
added a commit
to dashpay/dash
that referenced
this pull request
Jul 12, 2022
backport: bitcoin#18417, bitcoin#18521, bitcoin#18529, bitcoin#18176, bitcoin#18423, bitcoin#17926, bitcoin#18353, bitcoin#18407, bitcoin#18455, bitcoin#18565, bitcoin#18867 (fuzzing harness backports: part 2)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Includes:
See
doc/fuzzing.mdfor information on how to fuzz Bitcoin Core.