tests: Add fuzzing harness for descriptor Span-parsing helpers #17113

pull practicalswift wants to merge 1 commits into bitcoin:master from practicalswift:fuzzers-spanparsing changing 2 files +37 −0
  1. practicalswift commented at 8:27 AM on October 12, 2019: contributor

    Add fuzzing harness for descriptor Span-parsing helpers (spanparsing).

    As suggested by a fuzz testing enthusiast in #16887 (comment).

    Testing this PR

    Run:

    $ CC=clang CXX=clang++ ./configure --enable-fuzz \
          --with-sanitizers=address,fuzzer,undefined
    $ make
    $ src/test/fuzz/spanparsing
    
  2. fanquake added the label Tests on Oct 12, 2019
  3. DrahtBot commented at 12:15 PM on October 12, 2019: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #17051 (tests: Add deserialization fuzzing harnesses by practicalswift)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. in test/fuzz/test_runner.py:18 in 0e25858757 outdated
      11 | @@ -12,6 +12,10 @@
      12 |  import subprocess
      13 |  import logging
      14 |  
      15 | +# Fuzzers known to lack a seed corpus in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
      16 | +FUZZERS_MISSING_CORPORA = [
      17 | +    "spanparsing",
      18 | +]
    


    MarcoFalke commented at 5:47 PM on October 15, 2019:

    can remove?


    practicalswift commented at 10:47 PM on October 15, 2019:

    Done! :)

  5. MarcoFalke commented at 5:52 PM on October 15, 2019: member

    ACK 0e2585875764d1c120043f0e9a3a499b0079726b only, did not look at the other commits

    <details><summary>Show signature and timestamp</summary>

    Signature:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    
    ACK 0e2585875764d1c120043f0e9a3a499b0079726b only, did not look at the other commits
    -----BEGIN PGP SIGNATURE-----
    
    iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
    pUjAeAwAr9NgrYNFJbdZmonusrCxHskWSxI5FNPfveSJeSEoltttDv46rvXU2MOF
    FCQ0WS8vaUHV/9t/5R8AmTGvB91I5q/YkVd/6dCL3TTupiDQS25ofHy5a09D+2xi
    XE69KSQ7hNkS9IvEjaO5xhcYumh+Q5ZZQQjDgwvKvNbX72F5YBXZc6sAg4Iz+9/L
    ke/7bVIshN3ixSe0qEPWctx6Kmp64sBq0CPGLGiH368wXtQcy07bpzMAndJXjBhD
    rjl/kM7oPzp+JXVa64+rOIHpDKWHx06ckTR1z/7+Ju2St8SIHzQq1NGjYcPhR5RO
    /C/4NQBVeHklYZSyGjjSddEcCR2a+rirzIOTIUab5jqKPH7XMEGBaPUVMyhS5j9g
    lyTPMYzJOreTi9oW/WwwA2DM5xWqVJO9+jtEXZft6r9Yecux0+/uElAzzytn1YwN
    7Ty/HTNJNQ7pgKrGauxZEQ3uPZkMgVKJhYxzCcE3HWYV7P8rQd+s/aGmM5Xw3Dk0
    r3odoobi
    =/nL5
    -----END PGP SIGNATURE-----
    

    Timestamp of file with hash 31bdd75e9fd947f3bb361daae0a144d145e489f6aad21993c7234511eac4cd3c -

    </details>

  6. tests: Add fuzzing harness for descriptor Span-parsing helpers 58d67f1cc0
  7. practicalswift force-pushed on Oct 15, 2019
  8. MarcoFalke commented at 12:47 PM on October 16, 2019: member

    re-ACK 58d67f1cc068c3779e309dc8a82ce33158c3e5b2

    <details><summary>Show signature and timestamp</summary>

    Signature:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    
    re-ACK 58d67f1cc068c3779e309dc8a82ce33158c3e5b2
    -----BEGIN PGP SIGNATURE-----
    
    iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
    pUg2Egv+KUb4p7VLHGldLjeIDnRdqtEyeElris8BshOqJgMQ6XrG7qDB95V4Iovo
    DelsfaqBuD+MKVXQyhqsNGeVvfll2INfvjGKkg23Qa9TloAFkTXiMLMrDS/H0I8S
    lPbUpIwucfr4Ge5v950KDK8xK/7y4Odxo5+FjF9L6dYKixfJ6LuM9LJRbBJ3VfiX
    xbf4NRA88s/iA9cb0/2dQlpQvYE4zmZeVSagLhbNxLQ0EoKTA/NIXiBr56ipl9Mv
    rv9HOCBmg2crmLkFiszscdxgiY0ODgC3kLJGiDaiQN+6Jg2WgGrVBTEKW40TEi3k
    MsVvyQymri+oom7qxU+5wW5MWjqnVw0K/RXql9ebQbUOuNVf3pb03e44zW+PwuNd
    hGB9ryniVTG04ga3jNz9yj3Ti99S7WyuF01xqqc25KVX6NUKIndOsfCPpV0NvFfO
    YKt675F6/C8ciXRrmzwUwL5nSy6ghA2HWqnBoim8KNbUAbYn6ew6pEirig9npeNZ
    tmAW2Csk
    =hz5E
    -----END PGP SIGNATURE-----
    

    Timestamp of file with hash def105ed112e5ca86c6515d745fcbe97ae201192d92d263e45256e2841490096 -

    </details>

  9. MarcoFalke referenced this in commit 1f6638630e on Oct 16, 2019
  10. MarcoFalke merged this on Oct 16, 2019
  11. MarcoFalke closed this on Oct 16, 2019

  12. jasonbcox referenced this in commit 70e026e888 on Jul 9, 2020
  13. practicalswift deleted the branch on Apr 10, 2021
  14. kittywhiskers referenced this in commit 290841ef32 on Feb 27, 2022
  15. kittywhiskers referenced this in commit 2f8c572c18 on Feb 27, 2022
  16. kittywhiskers referenced this in commit ba806650b3 on Feb 28, 2022
  17. kittywhiskers referenced this in commit ed0d78d69b on Feb 28, 2022
  18. kittywhiskers referenced this in commit d298411ead on Feb 28, 2022
  19. kittywhiskers referenced this in commit 78107a2e9d on Mar 13, 2022
  20. kittywhiskers referenced this in commit a9d0cbb8f7 on Mar 24, 2022
  21. 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: 2026-04-13 21:14 UTC

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