Add initial wallet_bdb_parser corpus #140

pull Sjors wants to merge 3 commits into bitcoin-core:main from Sjors:2023/08/bdb_ro changing 205 files +81 −0
  1. Sjors commented at 10:30 am on August 1, 2023: member

    Generated on Ubuntu 23.04 using Clang 15.0.7 and libFuzzer --with-sanitizers=fuzzer

    Generated by running the wallet_bdb_parser target in https://github.com/bitcoin/bitcoin/pull/26606 for about a day on AMD Ryzen 9 7950X.

    I used test/fuzz/test_runner.py --m_dir which reduced the inputs from 1210 (200KB) to 116 (2 KB).

    I wonder if it makes sense to manually generate some inputs based on real (testnet) wallets.

  2. Add initial wallet_bdb_parser corpus
    Generated on Ubuntu 23.04 using Clang 15.0.7.
    --with-sanitizers=fuzzer
    d2b9afd099
  3. Sjors commented at 10:34 am on August 1, 2023: member
  4. maflcko commented at 11:02 am on August 1, 2023: contributor

    I wonder if it makes sense to manually generate some inputs based on real (testnet) wallets.

    This should be trivially possible by removing the use of ConsumeRandomLengthByteVector/FuzzedDataProvider and replace it with outfile << Span{buffer};

  5. Additional wallet_bdb_parser coverage from real wallet
    3ae851ea6b6b5a15fa168c598b15aee1282d2b0f is a regtest wallet
    90090898d8dd570e4003cfb42b0eaf97e05290ee produces a crash
    28d9be11b8
  6. Sjors commented at 5:59 pm on August 2, 2023: member
    Pushed a commit that contains a wallet and a crash. Let me know if it’s non-trivial to reproduce.
  7. Add wallet_bdb_parser crash 485cd07607
  8. Sjors commented at 8:55 am on August 3, 2023: member
    bda20e7f3777a147f944da4a50b9147e68b7f4b0 produces a UndefinedBehaviorSanitizer for me with https://github.com/bitcoin/bitcoin/pull/26606/commits/a7508fedcb529324bb1009455151800138e09022.
  9. maflcko commented at 2:19 pm on June 3, 2024: contributor
    Are you still working on this?
  10. Sjors commented at 3:04 pm on June 4, 2024: member
    Probably not, will the commits up for grabs if someone wants to take a stab.
  11. Sjors closed this on Jun 4, 2024


Sjors maflcko


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-12-06 23:25 UTC

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