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

issue MarcoFalke opened 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. unknown cross-referenced this on Mar 21, 2021 from issue fuzz: execute each file in dir without fuzz engine by ghost
  6. 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.

  7. bitcoin deleted a comment on Apr 10, 2021
  8. bitcoin deleted a comment on Jun 22, 2021
  9. AditiThirdEye commented at 4:01 PM on August 18, 2021: none

    Please assign me this issue if PR is not done yet

  10. prakash1512 cross-referenced this on Aug 21, 2021 from issue fuzz: execute each file in dir without fuzz engine by prakash1512
  11. ajtowns cross-referenced this on Mar 4, 2022 from issue fuzz: execute each file in dir without fuzz engine by ajtowns
  12. MarcoFalke commented at 5:57 PM on March 16, 2022: member
  13. MarcoFalke removed the label good first issue on Mar 16, 2022
  14. MarcoFalke commented at 5:59 PM on March 16, 2022: member

    (Tomorrow this issue will turn 1️⃣ :birthday: )

  15. MarcoFalke referenced this in commit bf2c0fb2a2 on Mar 17, 2022
  16. MarcoFalke closed this on Mar 17, 2022

  17. sidhujag referenced this in commit 16b7f5f572 on Mar 18, 2022
  18. bitcoin 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: 2026-05-20 06:54 UTC