Initial corpora for feefrac, build_and_compare_feerate_diagram, and package_rbf #179

pull marcofleon wants to merge 1 commits into bitcoin-core:main from marcofleon:2024/03/add-new-corpora changing 513 files +41 −0
  1. marcofleon commented at 0:49 am on April 5, 2024: contributor

    I noticed there was no corpus for three harnesses that recently got added, so I created some initial inputs.

    I followed the same process for each one outlined in the most recent open pull request. Started with inputs from the other directories. FUZZ=package_rbf src/test/fuzz/fuzz -set_cover_merge=1 -shuffle=0 -prefer_small=1 -use_value_profile=0 ../qa-assets/fuzz_seed_corpus/package_rbf ../qa-assets/fuzz_seed_corpus/*

    Then came up with inputs from scratch (let that run for a bit). FUZZ=package_rbf src/test/fuzz/fuzz -jobs=4 -prefer_small=1 ../qa-assets/fuzz_seed_corpus/package_rbf_new

    Then merged those two directories to get the final corpus. FUZZ=package_rbf src/test/fuzz/fuzz -set_cover_merge=1 -shuffle=0 -prefer_small=1 -use_value_profile=0 ../qa-assets/fuzz_seed_corpus/package_rbf ../qa-assets/fuzz_seed_corpus/package_rbf_new

    Here is the coverage summary:

    0python3 ./test/fuzz/test_runner.py ../qa-assets/fuzz_seed_corpus feefrac build_and_compare_feerate_diagram package_rbf
    13 of 177 detected fuzz target(s) selected: build_and_compare_feerate_diagram feefrac package_rbf
    2Summary:
    3build_and_compare_feerate_diagram [#54](/bitcoin-core-qa-assets/54/)	DONE   cov: 145 ft: 746 corp: 53/1099Kb lim: 1048551 exec/s: 0 rss: 38Mb
    4feefrac                           [#28](/bitcoin-core-qa-assets/28/)	DONE   cov: 113 ft: 113 corp: 27/571b lim: 129 exec/s: 0 rss: 33Mb
    5package_rbf                       [#434](/bitcoin-core-qa-assets/434/)	DONE   cov: 1818 ft: 9496 corp: 420/26Mb lim: 1048576 exec/s: 434 rss: 253Mb
    
  2. add package_rbf feefrac and build_and_compare_feerate_diagram corpora f47a2b7d17
  3. murchandamus commented at 2:10 am on April 5, 2024: contributor
    Awesome, thanks for working on this, will take a more thorough look tomorrow.
  4. maflcko approved
  5. maflcko commented at 6:15 am on April 5, 2024: contributor
    lgtm. Thanks
  6. murchandamus approved
  7. murchandamus commented at 12:46 pm on April 5, 2024: contributor
    Ran them locally and tried fuzzing a bit on them. Looks great, build_and_compare_feerate_diagram and feefrac I only found reductions with a bit of fuzzing even. Thanks!
  8. dergoegge merged this on Apr 5, 2024
  9. dergoegge closed this on Apr 5, 2024


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: 2024-10-30 01:25 UTC

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