Use arbitrary config object in full_stack_target fuzzer
authorMatt Corallo <git@bluematt.me>
Sat, 23 Dec 2023 19:13:34 +0000 (19:13 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 2 Feb 2024 18:04:51 +0000 (18:04 +0000)
commitf62a96ea93e241ad00859e508df988f5b5ab6f92
tree3cd0715ad605028ae9e9a3eb129e600b1105307b
parent248e2f5be5b415d794fe10123b871ec45ad348bb
Use arbitrary config object in full_stack_target fuzzer

As we've added more and more configuration parameters which change
our behavior, we're increasingly missing coverage in the general
`full_stack_target` fuzzer. Sadly, a reachable `unwrap` slipped in
uncaught that should have been stopped by the `full_stack_target`.

Here, we update the `full_stack_target` fuzzer to read a full
config object to substantially increase coverage.
fuzz/src/full_stack.rs
lightning/src/util/config.rs