cln/tests/fuzz
Níckolas Goline b52d5455b3 wire/splice: rename messages and TLV fields per updated BOLTs
Rename splice→splice_init, relative_satoshis→funding_contribution_satoshis,
txsigs_tlvs→tx_signatures_tlvs, and splice_info/batch_info→funding_txid/message_type.
Consolidate three CLN-specific shim patches into extracted_peer_cln_batch_element.patch.

Changelog-None
2026-06-19 09:38:06 +09:30
..
corpora fuzz-tests: Add a seed corpus for the new test 2026-05-08 09:42:25 +10:00
bolt12.h common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
check-fuzz.sh makefile: enable fuzzing support on macOS 2025-10-20 14:34:20 +10:30
connectd_handshake.h global: replace randombytes_buf() with randbytes() wrapper. 2025-11-13 21:21:29 +10:30
fuzz-addr.c common: make encode_scriptpubkey_to_addr take explicit len. 2026-03-23 09:22:04 +10:30
fuzz-amount-arith.c fuzz-tests: add test for amount-{sat, msat} arithmetic 2026-05-08 09:40:19 +10:00
fuzz-amount.c fuzz: fix check-src/includes when fuzzing enabled. 2023-04-05 06:12:24 +09:30
fuzz-base32-64.c fuzz-tests: Enhance b64_encode() validation with roundtrip decoding 2025-07-08 12:54:56 +09:30
fuzz-bech32.c tests/fuzz: fix include order. 2025-10-23 06:44:04 +10:30
fuzz-bigsize.c fuzz-tests: Add a roundtrip check for bigsize_put() 2025-09-15 11:30:08 +09:30
fuzz-bip32.c fuzz: correct buffer length for bip32_key_version 2023-05-21 12:46:27 +02:00
fuzz-bolt11.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fuzz-bolt12-bech32-decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fuzz-bolt12-invoice-decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fuzz-bolt12-invrequest-decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fuzz-bolt12-offer-decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
fuzz-channel_id.c Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30
fuzz-close_tx.c Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30
fuzz-codex32.c Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30
fuzz-connectd-handshake-act1.c fuzz: don't fail when fuzzer generates valid Act 1 or 2 packets 2025-04-15 19:53:47 +09:30
fuzz-connectd-handshake-act2.c fuzz: don't fail when fuzzer generates valid Act 1 or 2 packets 2025-04-15 19:53:47 +09:30
fuzz-connectd-handshake-act3.c fuzz: add handshake act 3 target 2023-06-22 13:40:45 +09:30
fuzz-cryptomsg.c Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30
fuzz-descriptor_checksum.c fuzz: fix check-src/includes when fuzzing enabled. 2023-04-05 06:12:24 +09:30
fuzz-error-warning.c tests/fuzz: fix include order. 2025-10-23 06:44:04 +10:30
fuzz-full_channel.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
fuzz-funder-policy.c tests/fuzz: fix include order. 2025-10-23 06:44:04 +10:30
fuzz-handle_onion_message.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
fuzz-hmac-sha256.c tests/fuzz: fix include order. 2025-10-23 06:44:04 +10:30
fuzz-hsm_secret.c fuzz-tests: get rid of magic numbers in fuzz-hsm_encryption.c 2025-11-10 16:59:01 +10:30
fuzz-init_received.c fuzz-tests: Add a test for peer_init_received() 2025-11-14 09:08:26 +10:30
fuzz-initial_channel.c fuzz-tests: Add test for untested function 2025-11-16 15:17:30 +10:30
fuzz-open_channel.c fuzz-tests: Add a test for fundee_channel() 2026-05-08 09:42:25 +10:00
fuzz-ripemd160.c fuzz: use explicit fetching for digest algorithms 2024-02-04 17:16:01 +01:00
fuzz-sha256.c fuzz: use explicit fetching for digest algorithms 2024-02-04 17:16:01 +01:00
fuzz-wire-accept_channel.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-accept_channel2.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-announcement_signatures.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
fuzz-wire-channel_announcement.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
fuzz-wire-channel_ready.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-channel_reestablish.c splice: Update to current spec 2025-11-13 15:17:19 +10:30
fuzz-wire-channel_update.c bitcoin/short_channel_id: pass by copy everywhere. 2024-03-20 13:51:48 +10:30
fuzz-wire-closing_complete.c fuzz-tests: Add fuzz target for closing_complete 2025-09-15 11:21:25 +09:30
fuzz-wire-closing_sig.c fuzz-tests: Add fuzz target for closing_sig 2025-09-15 11:28:07 +09:30
fuzz-wire-closing_signed.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-commitment_signed.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
fuzz-wire-error.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-funding_created.c fuzz: target for funding_created 2023-09-18 13:58:45 +09:30
fuzz-wire-funding_signed.c fuzz: target for funding_signed 2023-09-18 13:58:45 +09:30
fuzz-wire-gossip_timestamp_filter.c fuzz: target for gossip_timestamp_filter 2023-09-18 13:58:45 +09:30
fuzz-wire-init.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-node_announcement.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-onion_message.c global: rename blinding to path_key everywhere. 2024-10-16 07:14:32 +10:30
fuzz-wire-open_channel.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-open_channel2.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-peer_storage.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-peer_storage_retrieval.c BOLTs: Update to version with peer storage merged. 2025-03-18 14:30:58 +10:30
fuzz-wire-ping.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-pong.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-query_channel_range.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-query_short_channel_ids.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-reply_channel_range.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-reply_short_channel_ids_end.c fuzz: target for reply_short_channel_ids_end 2023-09-18 13:58:45 +09:30
fuzz-wire-revoke_and_ack.c fuzz: target for revoke_and_ack 2023-09-18 13:58:45 +09:30
fuzz-wire-shutdown.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-splice.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
fuzz-wire-splice_ack.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
fuzz-wire-splice_locked.c splice: Add splice_txid to splice_locked message 2025-05-13 14:52:15 +09:30
fuzz-wire-stfu.c fuzz: target for stfu 2023-09-18 13:58:45 +09:30
fuzz-wire-tx_abort.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-tx_ack_rbf.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-tx_add_input.c splice: Remove blockhash from peer msg 2024-11-21 14:15:36 +10:30
fuzz-wire-tx_add_output.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-tx_complete.c fuzz: target for tx_complete 2023-09-18 13:58:45 +09:30
fuzz-wire-tx_init_rbf.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-tx_remove_input.c fuzz: target for tx_remove_input 2023-09-18 13:58:45 +09:30
fuzz-wire-tx_remove_output.c fuzz: target for tx_remove_output 2023-09-18 13:58:45 +09:30
fuzz-wire-tx_signatures.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
fuzz-wire-update_add_htlc.c BOLTs: update which renames blinding terminology. 2024-10-16 07:14:32 +10:30
fuzz-wire-update_blockheight.c fuzz: target for update_blockheight 2023-09-18 13:58:45 +09:30
fuzz-wire-update_fail_htlc.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wire-update_fail_malformed_htlc.c fuzz: target for update_fail_malformed_htlc 2023-09-18 13:58:45 +09:30
fuzz-wire-update_fee.c fuzz: target for update_fee 2023-09-18 13:58:45 +09:30
fuzz-wire-update_fulfill_htlc.c fuzz: target for update_fulfill_htlc 2023-09-18 13:58:45 +09:30
fuzz-wire-warning.c common: add tal_arr_eq helper. 2024-02-16 15:02:38 +01:00
fuzz-wireaddr.c common: correctly refuse to accept wireaddr with port == 0. 2026-04-30 12:17:43 +09:30
libfuzz.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
libfuzz.h bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
Makefile fuzz-tests: Add a test for fundee_channel() 2026-05-08 09:42:25 +10:00
run.py fuzz: improve corpus merging 2023-04-09 12:41:27 +09:30
wire.h Makefile: run fuzzing corpora as normal unit tests in non-fuzzing mode. 2025-10-23 06:44:04 +10:30