aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/validation_load_mempool.cpp
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-11 14:33:31 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-07-13 20:37:14 +0200
commitfa6dfaaf45bde465969fa7d8fa6b6574a497a6ca (patch)
treef838e21b0218c50e50503a340fba2566d2281a3c /src/test/fuzz/validation_load_mempool.cpp
parentfa36ad8b091c70190491280dcf0794e94e34a9ed (diff)
scripted-diff: Use new FUZZ_TARGET macro everywhere
-BEGIN VERIFY SCRIPT- ren() { sed --regexp-extended -i "s|$1|$2|g" $(git grep -l --extended-regexp "$1"); } # Replace FUZZ_TARGET_INIT ren 'FUZZ_TARGET_INIT\((.+), (.+)\)' 'FUZZ_TARGET(\1, .init = \2)' # Delete unused FUZZ_TARGET_INIT sed -i -e '37,39d' src/test/fuzz/fuzz.h -END VERIFY SCRIPT-
Diffstat (limited to 'src/test/fuzz/validation_load_mempool.cpp')
-rw-r--r--src/test/fuzz/validation_load_mempool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/validation_load_mempool.cpp b/src/test/fuzz/validation_load_mempool.cpp
index 4e2ca6d903..c203dd4e39 100644
--- a/src/test/fuzz/validation_load_mempool.cpp
+++ b/src/test/fuzz/validation_load_mempool.cpp
@@ -33,7 +33,7 @@ void initialize_validation_load_mempool()
g_setup = testing_setup.get();
}
-FUZZ_TARGET_INIT(validation_load_mempool, initialize_validation_load_mempool)
+FUZZ_TARGET(validation_load_mempool, .init = initialize_validation_load_mempool)
{
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
SetMockTime(ConsumeTime(fuzzed_data_provider));