extern crate lightning_fuzz;
use lightning_fuzz::chanmon_consistency::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
chanmon_consistency_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::chanmon_deser::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
chanmon_deser_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::full_stack::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
full_stack_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_accept_channel::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_accept_channel_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_announcement_signatures::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_announcement_signatures_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_channel_announcement::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_channel_announcement_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_channel_reestablish::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_channel_reestablish_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_channel_update::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_channel_update_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_closing_signed::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_closing_signed_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_commitment_signed::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_commitment_signed_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_decoded_onion_error_packet::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_decoded_onion_error_packet_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_error_message::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_error_message_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_funding_created::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_funding_created_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_funding_locked::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_funding_locked_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_funding_signed::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_funding_signed_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_init::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_init_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_node_announcement::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_node_announcement_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_onion_hop_data::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_onion_hop_data_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_open_channel::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_open_channel_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_ping::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_ping_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_pong::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_pong_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_revoke_and_ack::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_revoke_and_ack_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_shutdown::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_shutdown_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_add_htlc::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_update_add_htlc_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_fail_htlc::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_update_fail_htlc_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_fail_malformed_htlc::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_update_fail_malformed_htlc_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_fee::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_update_fee_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_update_fulfill_htlc::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
msg_update_fulfill_htlc_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::peer_crypt::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
peer_crypt_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::router::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
router_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};
extern crate lightning_fuzz;
use lightning_fuzz::TARGET_MOD::*;
-use std::fs;
-use std::io::Read;
-
#[cfg(feature = "afl")]
#[macro_use] extern crate afl;
#[cfg(feature = "afl")]
#[cfg(feature = "stdin_fuzz")]
fn main() {
+ use std::io::Read;
+
let mut data = Vec::with_capacity(8192);
std::io::stdin().read_to_end(&mut data).unwrap();
TARGET_NAME_run(data.as_ptr(), data.len());
#[test]
fn run_test_cases() {
+ use std::fs;
+ use std::io::Read;
use lightning_fuzz::utils::test_logger::StringBuffer;
use std::sync::{atomic, Arc};