bitcoin/src/test/fuzz
MarcoFalke fa8dd34e91
Merge #20332: test: Mock IBD in net_processing fuzzers
fa4234d877 test: Mock IBD in net_processing fuzzers (MarcoFalke)

Pull request description:

  Without this the fuzzers fail to detect trivial crasher bugs, such as https://github.com/bitcoin/bitcoin/pull/20317#issuecomment-723047111

ACKs for top commit:
  practicalswift:
    Tested ACK fa4234d877

Tree-SHA512: ce5da5c0a604b7559805a98ffdde882b44ca4f91b003b493d6e1be230714ce4cccb11dbfc1fc175f9d8fc779551c0a4103ceb4b473552928207d7d78ae329e10
2020-11-10 19:51:11 +01:00
..
addition_overflow.cpp
addrdb.cpp fuzz: fix unused variable addrdb compiler warning 2020-07-19 08:31:34 +02:00
asmap.cpp net: change CNetAddr::ip to have flexible size 2020-08-24 21:50:59 +02:00
asmap_direct.cpp
autofile.cpp tests: Add fuzzing harness for CAutoFile (streams.h) 2020-07-15 11:41:21 +00:00
banman.cpp tests: Add fuzzing harness for BanMan 2020-07-08 05:31:43 +00:00
base_encode_decode.cpp
bech32.cpp
block.cpp
block_header.cpp
blockfilter.cpp
bloom_filter.cpp
buffered_file.cpp refactor: Drop unused CBufferedFile::Seek() 2020-07-26 22:46:28 +03:00
chain.cpp
checkqueue.cpp
coins_view.cpp Only relay Taproot spends if next block has it active 2020-10-30 15:52:19 -07:00
crypto.cpp tests: Add fuzzing harness for Keccak and SHA3_256 2020-09-10 14:54:30 +00:00
crypto_aes256.cpp tests: Add fuzzing harness for AES256Encrypt/AES256Decrypt 2020-06-25 15:06:13 +00:00
crypto_aes256cbc.cpp tests: Add fuzzing harness for AES256CBCEncrypt/AES256CBCDecrypt 2020-06-25 15:06:13 +00:00
crypto_chacha20.cpp tests: Add fuzzing harness for ChaCha20 2020-06-25 15:06:13 +00:00
crypto_chacha20_poly1305_aead.cpp tests: Add fuzzing harness for ChaCha20Poly1305AEAD 2020-06-25 15:06:13 +00:00
crypto_common.cpp tests: Add fuzzing harness for {Read,Write}{LE,BE}{16,32,64} (crypto/common.h) 2020-06-11 14:05:54 +00:00
crypto_hkdf_hmac_sha256_l32.cpp tests: Add fuzzing harness for CHKDF_HMAC_SHA256_L32 2020-06-25 15:06:13 +00:00
crypto_poly1305.cpp tests: Add fuzzing harness for poly1305_auth(...) 2020-06-25 15:06:13 +00:00
cuckoocache.cpp
decode_tx.cpp fuzz: Assert expected DecodeHexTx behaviour when using legacy decoding 2020-11-04 23:11:50 +00:00
descriptor_parse.cpp fuzz: Add missing ECC_Start to descriptor_parse test 2020-11-04 22:55:03 +07:00
deserialize.cpp fuzz: Assert roundtrip equality for both addrv1 and addrv2 versions of CService 2020-11-09 15:29:15 +00:00
eval_script.cpp
fee_rate.cpp
fees.cpp
flatfile.cpp
float.cpp
fuzz.cpp fuzz: Configure check for main function 2020-10-04 17:49:07 +02:00
fuzz.h
FuzzedDataProvider.h
golomb_rice.cpp
hex.cpp
http_request.cpp tests: Avoid fuzzer-specific nullptr dereference in libevent when handling PROXY requests 2020-06-02 11:53:08 +00:00
integer.cpp
key.cpp Make Hash[160] consume range-like objects 2020-07-30 13:57:54 -07:00
key_io.cpp
kitchen_sink.cpp refactor: Error message bilingual_str consistency 2020-06-09 15:39:44 +02:00
load_external_block_file.cpp tests: Add fuzzing harness for LoadExternalBlockFile(...) (validation.h) 2020-07-15 11:41:21 +00:00
locale.cpp util: remove unused c-string variant of atoi64() 2020-08-17 17:56:59 +02:00
merkleblock.cpp
message.cpp
multiplication_overflow.cpp
net.cpp test: Add tests for CNode::ConnectedThroughNetwork 2020-10-03 15:38:49 +03:00
net_permissions.cpp Add addr permission flag enabling non-cached addr sharing 2020-07-30 14:38:50 +03:00
netaddress.cpp net: change CNetAddr::ip to have flexible size 2020-08-24 21:50:59 +02:00
p2p_transport_deserializer.cpp Remove header checks out of net_processing 2020-09-22 22:05:18 -04:00
parse_hd_keypath.cpp
parse_iso8601.cpp
parse_numbers.cpp
parse_script.cpp
parse_univalue.cpp
policy_estimator.cpp tests: Add fuzzing harness for CBlockPolicyEstimator::{Read,Write} (policy/fees.h) 2020-07-15 11:41:21 +00:00
policy_estimator_io.cpp tests: Add fuzzing harness for CBlockPolicyEstimator::{Read,Write} (policy/fees.h) 2020-07-15 11:41:21 +00:00
pow.cpp
prevector.cpp
primitives_transaction.cpp
process_message.cpp test: Mock IBD in net_processing fuzzers 2020-11-07 07:50:59 +01:00
process_messages.cpp test: Mock IBD in net_processing fuzzers 2020-11-07 07:50:59 +01:00
protocol.cpp
psbt.cpp psbt: Allow both non_witness_utxo and witness_utxo 2020-06-24 16:31:42 -04:00
random.cpp
rbf.cpp
rolling_bloom_filter.cpp
script.cpp Replace usage of GetScriptForWitness with GetScriptForDestination 2020-08-14 08:44:42 +12:00
script_assets_test_minimizer.cpp tests: dumping and minimizing of script assets data 2020-10-12 17:18:47 -07:00
script_bitcoin_consensus.cpp tests: Add fuzzing harness for functions in script/bitcoinconsensus.h 2020-05-30 10:37:01 +00:00
script_descriptor_cache.cpp tests: Add fuzzing harness for functions in script/descriptor.h 2020-05-30 10:37:01 +00:00
script_flags.cpp fuzz: Properly initialize PrecomputedTransactionData 2020-10-26 09:17:25 +01:00
script_interpreter.cpp tests: Add fuzzing harness for functions in script/interpreter.h 2020-05-30 10:37:01 +00:00
script_ops.cpp
script_sigcache.cpp Support for Schnorr signatures and integration in SignatureCheckers (BIP 340) 2020-10-12 17:15:40 -07:00
script_sign.cpp tests: Add fuzzing harness for functions in script/sign.h 2020-05-30 10:37:01 +00:00
scriptnum_ops.cpp fuzz: add missing overrides to signature_checker 2020-07-22 05:27:13 +02:00
secp256k1_ec_seckey_import_export_der.cpp tests: Add fuzzing harness for ec_seckey_import_der(...) and ec_seckey_export_der(...) 2020-08-18 18:03:57 +00:00
secp256k1_ecdsa_signature_parse_der_lax.cpp tests: Add fuzzing harness for SigHasLowR(...) and ecdsa_signature_parse_der_lax(...) 2020-08-18 18:03:56 +00:00
signature_checker.cpp Use ScriptExecutionData to pass through annex hash 2020-10-12 17:18:15 -07:00
signet.cpp fuzz: Remove needless guard 2020-09-22 22:32:18 +02:00
span.cpp
spanparsing.cpp
string.cpp tests: Fill fuzzing coverage gaps for functions in script/script.h, script/script_error.h and script/standard.h 2020-05-30 10:37:01 +00:00
strprintf.cpp
system.cpp
timedata.cpp
transaction.cpp Only relay Taproot spends if next block has it active 2020-10-30 15:52:19 -07:00
tx_in.cpp
tx_out.cpp
txrequest.cpp Report and verify expirations 2020-10-12 12:14:53 -07:00
util.h net: change CNetAddr::ip to have flexible size 2020-08-24 21:50:59 +02:00