fuzz: Make it possible to execute each file in a directory without fuzz engine #21461

issue MarcoFalke openend this issue on March 17, 2021
  1. MarcoFalke commented at 6:41 pm on March 17, 2021: member

    This functionality is provided by libFuzzer, which is available on most platforms. However, libFuzzer is also missing on some platforms. E.g. https://github.com/google/sanitizers/issues/1165

    Thus, it could make sense to implement this in our code to be able to execute the existing fuzz inputs.

    The basic idea is to check if a folder was passed into main (https://github.com/bitcoin/bitcoin/blob/63314b8211d795b2bf0814e244d801e74f50b152/src/test/fuzz/fuzz.cpp#L75) and then iterate over the files and pass them into test_one_input.

    Useful skills:

    Want to work on this issue?

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

  2. MarcoFalke added the label good first issue on Mar 17, 2021
  3. MarcoFalke commented at 6:42 pm on March 17, 2021: member
    Idea by @sipa
  4. MarcoFalke added the label Tests on Mar 17, 2021
  5. ghost commented at 8:50 pm on March 21, 2021: none

    Took a stab at this here: #21496

    Lemme know if the approach/code looks good, happy to make any changes.

  6. fanquake deleted a comment on Apr 10, 2021
  7. fanquake deleted a comment on Jun 22, 2021
  8. AditiThirdEye commented at 4:01 pm on August 18, 2021: none
    Please assign me this issue if PR is not done yet
  9. MarcoFalke commented at 5:57 pm on March 16, 2022: member
    Done in #https://github.com/bitcoin/bitcoin/pull/24472
  10. MarcoFalke removed the label good first issue on Mar 16, 2022
  11. MarcoFalke commented at 5:59 pm on March 16, 2022: member
    (Tomorrow this issue will turn 1️⃣ :birthday: )
  12. MarcoFalke referenced this in commit bf2c0fb2a2 on Mar 17, 2022
  13. MarcoFalke closed this on Mar 17, 2022

  14. sidhujag referenced this in commit 16b7f5f572 on Mar 18, 2022
  15. DrahtBot locked this on Mar 17, 2023

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: 2025-04-02 00:13 UTC

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