Skip to content

Bitcoin Core related blobs used for quality assurance

License

Notifications You must be signed in to change notification settings

marcofleon/qa-assets

This branch is up to date with bitcoin-core/qa-assets:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3846351 · Mar 28, 2025
May 4, 2023
Sep 3, 2024
Mar 27, 2025
Jun 12, 2024
Oct 24, 2022
Mar 22, 2025
Dec 30, 2018
Sep 3, 2024
Sep 3, 2024

Repository files navigation

qa-assets

Bitcoin Core related blobs used for quality assurance.

Fuzz inputs

qa-assets/fuzz_corpora contains one input corpus per fuzz target (one folder per target named the same as each target).

Contributing inputs

For documentation on how to fuzz Bitcoin Core please see fuzzing.md.

If you want to contribute fuzz inputs, please "merge" the inputs before submitting a pull request. You can use the libFuzzer option -set_cover_merge=1 (recommended with -use_value_profile=0) or the --m_dir option of the fuzz runner: test_runner.py.

Pruning inputs

  • Over time fuzz engines reduce inputs (produce a smaller input that yields the same coverage statistics), which causes our corpora to accumulate larger non-reduced inputs.
  • Code changes can lead to inputs losing their coverage.

To avoid corpora bloat, stale inputs and potential CI timeouts, we usually prune/minimize our corpora around the branch-off point using the delete_nonreduced_fuzz_inputs.sh script (Recommended to run in a fresh VM, see documentation in the script). The script is usually run twice to ensure that the results are "somewhat" reproducible (e.g. bitcoin-core#119 (comment)).

After pruning the corpora, the coverage should not have dropped at all.

Pulling inputs from oss-fuzz

Use download_oss_fuzz_inputs.py to pull fuzz inputs from oss-fuzz.

About

Bitcoin Core related blobs used for quality assurance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 56.7%
  • Python 43.3%