-
Notifications
You must be signed in to change notification settings - Fork 38.7k
doc: Add fuzzing quickstart guides for libFuzzer and afl-fuzz #18342
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
doc: Add fuzzing quickstart guides for libFuzzer and afl-fuzz #18342
Conversation
27f479d to
1ef9506
Compare
|
@practicalswift This is very informative. 👍 After reading https://github.com/bitcoin/bitcoin/blob/master/doc/fuzzing.md, I was still a bit unclear what that |
0809017 to
b21d880
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
f185caf to
0823aa7
Compare
|
@kiminuo Very good point! I've now also added a quickstart guide for |
|
@practicalswift I find it very good. Thank you for the update! |
0823aa7 to
21fa6cb
Compare
|
Updated by adding a link to a nice |
21fa6cb to
24a22b3
Compare
|
@Thoragh Oh, good catch! Now added Thanks a lot for testing the instructions. That's great! |
|
Rebased! :) |
24a22b3 to
21e553d
Compare
21e553d to
33dd764
Compare
|
Ready for merge? :) |
|
ACK 33dd764 |
fanquake
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.
ACK 33dd764 - ran through the quick start and process message instructions. macOS users might see issues with afl-fuzz.
| $ cd bitcoin/ | ||
| $ git clone https://github.com/google/afl | ||
| $ make -C afl/ | ||
| $ make -C afl/llvm_mode/ |
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.
macOS users will likely get stuck here (even using brew installed llvm). This will fail to link given afls usage of -znodelete. Dropping that flag leads to issues with undefined symbols.
… and afl-fuzz 33dd764 doc: Add fuzzing quickstart guides for libFuzzer and afl-fuzz. Simplify instructions. (practicalswift) Pull request description: Add fuzzing quickstart guide to make it trivial to start fuzzing Bitcoin Core. Fuzzing is fun and having more people contributing coverage-increasing inputs to https://github.com/bitcoin-core/qa-assets would be awesome :) ACKs for top commit: MarcoFalke: ACK 33dd764 fanquake: ACK 33dd764 - ran through the quick start and process message instructions. macOS users might see issues with afl-fuzz. Tree-SHA512: f3ca972ce6ed0df8bb8177bdbb1e16d8a235941ffe4fa7b95ce9520b6454694ee26d2c545eac0b8b81856a77e26befda0922a9121a445dd936a0e9f9dd034160
Add fuzzing quickstart guide to make it trivial to start fuzzing Bitcoin Core.
Fuzzing is fun and having more people contributing coverage-increasing inputs to https://github.com/bitcoin-core/qa-assets would be awesome :)