-
Notifications
You must be signed in to change notification settings - Fork 38.8k
tests: Add basic fuzzing harness for CNetAddr/CService/CSubNet related functions (netaddress.h) #18047
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
Conversation
jonatack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept/approach ACK. Runs about 10 times faster (11.5-12k exec/s) than the asmap fuzzer for me. Why is 8bb9945 described as "temporarily" and a separate commit? (I have the same question regarding the asmap fuzzer PR as well -- thanks.)
bb1283e to
b36a347
Compare
b36a347 to
61d648d
Compare
|
@jonatack The reason for the temporary commit was to allow for easy removal in the case that tests cases was added to the qa-assets repo before the merge of this PR :) But to make things less confusing I've now squashed the two commits into one. Please re-review :) |
…d functions (netaddress.h)
61d648d to
815c7a6
Compare
|
Rebased! :) |
dongcarl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK 815c7a6
…ervice/CSubNet related functions (netaddress.h) 6590395 tests: Remove FUZZERS_MISSING_CORPORA (practicalswift) 815c7a6 tests: Add basic fuzzing harness for CNetAddr/CService/CSubNet related functions (netaddress.h) (practicalswift) Pull request description: Add basic fuzzing harness for `CNetAddr`/`CService`/`CSubNet` related functions (`netaddress.h`). To test this PR: ``` $ make distclean $ ./autogen.sh $ CC=clang CXX=clang++ ./configure --enable-fuzz \ --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/netaddress … ``` Top commit has no ACKs. Tree-SHA512: 69dc0e391d56d5e9cdb818ac0ac4b69445d0195f714442a06cf662998e38b6e0bbaa635dce78df37ba797feed633e94abba4764b946c1716d392756e7809112d
…d functions (netaddress.h) Summary: Backport of core [[bitcoin/bitcoin#18047 | PR18047]]. Test Plan: ninja bitcoin-fuzzers ./test/fuzz/test_runner.py <path_to_corpus> Reviewers: #bitcoin_abc, PiRK Reviewed By: PiRK Differential Revision: https://reviews.bitcoinabc.org/D8270
…ervice/CSubNet related functions (netaddress.h) 6590395 tests: Remove FUZZERS_MISSING_CORPORA (practicalswift) 815c7a6 tests: Add basic fuzzing harness for CNetAddr/CService/CSubNet related functions (netaddress.h) (practicalswift) Pull request description: Add basic fuzzing harness for `CNetAddr`/`CService`/`CSubNet` related functions (`netaddress.h`). To test this PR: ``` $ make distclean $ ./autogen.sh $ CC=clang CXX=clang++ ./configure --enable-fuzz \ --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/netaddress … ``` Top commit has no ACKs. Tree-SHA512: 69dc0e391d56d5e9cdb818ac0ac4b69445d0195f714442a06cf662998e38b6e0bbaa635dce78df37ba797feed633e94abba4764b946c1716d392756e7809112d
…e/CSubNet related functions (netaddress.h)
backport: bitcoin#18867, bitcoin#19247, bitcoin#19222, bitcoin#18363, bitcoin#18190, bitcoin#18393, partial bitcoin#18047, bitcoin#18314, bitcoin#19143 (fuzzing harness backports: part 3)
Add basic fuzzing harness for
CNetAddr/CService/CSubNetrelated functions (netaddress.h).To test this PR: