]> git.bitcoin.ninja Git - rust-lightning/commit
Fuzz test for bech32 decoding
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 9 Feb 2023 17:09:23 +0000 (11:09 -0600)
committerMatt Corallo <git@bluematt.me>
Thu, 23 Feb 2023 22:19:54 +0000 (22:19 +0000)
commitd24567b89820843de983815e0b6ece2f52737256
treeb26224efcf9d0c9459c6b5f731036c47380e8406
parent1772546b732b79c7fef6c7d76e5666fd52f6b856
Fuzz test for bech32 decoding

Fuzz testing bech32 decoding along with deserializing the underlying
message can result in overly exhaustive searches. Instead, the message
deserializations are now fuzzed separately. Add fuzzing for bech32
decoding.
fuzz/src/bech32_parse.rs [new file with mode: 0644]
fuzz/src/bin/bech32_parse_target.rs [new file with mode: 0644]
fuzz/src/bin/gen_target.sh
fuzz/src/lib.rs
fuzz/targets.h