]> 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)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 24 Feb 2023 00:25:49 +0000 (18:25 -0600)
commit3d41df025de4df512e8486c9e321fcda8d1a2420
tree0be28128dff7b74f9234cd38448a405cefa5b663
parent56a01de61d0eab8c3d343b51e1a500098baa5aea
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