Some more Script seeds #79

pull darosior wants to merge 4 commits into bitcoin-core:main from darosior:more_script_seeds changing 1602 files +201 −0
  1. darosior commented at 10:55 AM on September 27, 2021: member

    I've been growing a corpus for Miniscript parsing from Script, and merging it to the existing targets parsing a Script increased their coverage.

  2. script: add 4 new seeds
    Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
    d1833a38c3
  3. script_interpreter: add 2 new seeds
    Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
    4d60e6c2de
  4. script_bitcoin_consensus: add tons of new seeds
    Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
    15048077e2
  5. script_ops: add 4 new seeds
    Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
    950610bd72
  6. maflcko commented at 4:09 PM on September 27, 2021: contributor

    Nice. Do you have a link to the source code (fuzz target) you used to generate those?

  7. darosior commented at 4:19 PM on September 27, 2021: member

    To seed the corpus i used both multiple runs of https://github.com/sipa/miniscript/blob/5ce603f7817a814361ca673ac06882d2536c441b/bitcoin/test/miniscript_tests.cpp#L609-L639 by writing the output of ToScript and gathered few inputs from there https://github.com/jonasnick/bitcoinconsensus_testcases/tree/master/0.10-positive .

    For the fuzz target i'm still working on it but here is a sketch: https://github.com/darosior/bitcoin/tree/fuzz_target_preview

  8. maflcko merged this on Sep 28, 2021
  9. maflcko closed this on Sep 28, 2021

  10. darosior deleted the branch on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/qa-assets. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 08:25 UTC

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