HomePhabricator

[backport#17357 2/2] tests: Add fuzzing harness for Bech32 encoding/decoding

Description

[backport#17357 2/2] tests: Add fuzzing harness for Bech32 encoding/decoding

Summary:
This ended up a bit different from Core's for obvious reasons

https://github.com/bitcoin/bitcoin/pull/17357/commits/b7541705d0abfbddf682a0134f3fa8a8e1d06cdf


Depends on D6904

Concludes backport of Core PR17357

Test Plan:

cmake -GNinja .. -DENABLE_SANITIZERS="address;fuzzer" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja bitcoin-fuzzers
./src/test/fuzz/cashaddr

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D6906

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Nov 5 2019, 09:18
majcostaCommitted on Jul 20 2020, 15:44
majcostaPushed on Jul 20 2020, 15:44
Reviewer
Restricted Project
Differential Revision
D6906: [backport#17357 2/2] tests: Add fuzzing harness for Bech32 encoding/decoding
Parents
rABC842263b6a90e: [backport#17357 1/2] tests: Move CaseInsensitiveEqual to test/util/str
Branches
Unknown
Tags
Unknown