From: Matt Corallo Date: Tue, 8 Jan 2019 17:53:12 +0000 (-0500) Subject: Add doc to full_stack_target X-Git-Tag: v0.0.12~244^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=d8dcb1a9d36630f2f4bfc2f9b650eb9f577c55f7;p=rust-lightning Add doc to full_stack_target --- diff --git a/fuzz/fuzz_targets/full_stack_target.rs b/fuzz/fuzz_targets/full_stack_target.rs index 6274d8fcb..5941e3c91 100644 --- a/fuzz/fuzz_targets/full_stack_target.rs +++ b/fuzz/fuzz_targets/full_stack_target.rs @@ -1,3 +1,9 @@ +//! Test that no series of bytes received over the wire/connections created/payments sent can +//! result in a crash. We do this by standing up a node and then reading bytes from input to denote +//! actions such as creating new inbound/outbound connections, bytes to be read from a connection, +//! or payments to send/ways to handle events generated. +//! This test has been very useful, though due to its complexity good starting inputs are critical. + //Uncomment this for libfuzzer builds: //#![no_main]