Add fuzzing harnesses #18431

issue MarcoFalke openend this issue on March 25, 2020
  1. MarcoFalke commented at 8:15 pm on March 25, 2020: member

    Adding fuzz tests is a low hanging fruit. This is an open ended issue.

    See previously contributed fuzz tests: https://github.com/bitcoin/bitcoin/pulls?q=is%3Apr+label%3ATests+is%3Aclosed+fuzz See missing fuzz coverage: https://marcofalke.github.io/btc_cov/fuzz.coverage/index.html

    Useful skills:

    Want to work on this issue?

    The purpose of the good first issue label is to highlight which issues are suitable for a new contributor without a deep understanding of the codebase.

    You do not need to request permission to start working on this. You are encouraged to comment on the issue if you are planning to work on it. This will help other contributors monitor which issues are actively being addressed and is also an effective way to request assistance if and when you need it.

    For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.

  2. MarcoFalke added the label Tests on Mar 25, 2020
  3. MarcoFalke added the label good first issue on Mar 25, 2020
  4. pierreN commented at 10:33 am on March 27, 2020: contributor
    I’d like to help on this, could by any chance anyone pinpoint a nice harness to write to start with (maybe @practicalswift since you seem to do a lot of fuzzing?) ? Thanks
  5. MarcoFalke commented at 6:13 pm on March 28, 2020: member

    The fuzz target can literally be anything. You can use as much creativity as you want.

    It can be a simple target like the constructor of CMessageHeader(1,2,3) (c.f. #16995), the class CMerkleBlock, or advanced stateful classes like the mempool (tx acceptance and graph) or most validation datastructures (coins db, block header tree, …).

  6. fanquake deleted a comment on Apr 2, 2020
  7. MarcoFalke closed this on Mar 18, 2021

  8. DrahtBot locked this on Aug 18, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me