aboutsummaryrefslogtreecommitdiff
path: root/test/fuzz/test_runner.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-03-05 15:40:36 -0500
committerMarcoFalke <falke.marco@gmail.com>2020-03-05 15:41:30 -0500
commita2b5aae9f3470f4a1366c4d0b3b9644baf371db4 (patch)
tree98f7df0329c79cfa17b47c5d12940923231c5583 /test/fuzz/test_runner.py
parentd7134b306a1787c2c867e6e667cb6583192cd6f5 (diff)
parent9ff41f64198e8ddb969544fc1a5328763f1fa183 (diff)
Merge #17996: tests: Add fuzzing harness for serialization/deserialization of floating-points and integrals
9ff41f64198e8ddb969544fc1a5328763f1fa183 tests: Add float to FUZZERS_MISSING_CORPORA (temporarily) (practicalswift) 8f6fb0a85ae6399c8fb4f205ad35c319c42294f1 tests: Add serialization/deserialization fuzzing for integral types (practicalswift) 3c82b92d2e01e409cc46261bffcf3643102f0b94 tests: Add fuzzing harness for functions taking floating-point types as input (practicalswift) c2bd5888607d283a229c9361747a93c83dfea0de Add missing includes (practicalswift) Pull request description: Add simple fuzzing harness for functions with floating-point parameters (such as `ser_double_to_uint64(double)`, etc.). Add serialization/deserialization fuzzing for integral types. Add missing includes. To test this PR: ``` $ make distclean $ ./autogen.sh $ CC=clang CXX=clang++ ./configure --enable-fuzz \ --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/float … ``` Top commit has no ACKs. Tree-SHA512: 9b5a0c4838ad18d715c7398e557d2a6d0fcc03aa842f76d7a8ed716170a28f17f249eaede4256998aa3417afe2935e0ffdfaa883727d71ae2d2d18a41ced24b5
Diffstat (limited to 'test/fuzz/test_runner.py')
-rwxr-xr-xtest/fuzz/test_runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/test_runner.py b/test/fuzz/test_runner.py
index 36127c5bc6..0541b0d032 100755
--- a/test/fuzz/test_runner.py
+++ b/test/fuzz/test_runner.py
@@ -25,6 +25,7 @@ FUZZERS_MISSING_CORPORA = [
"decode_tx",
"fee_rate_deserialize",
"flat_file_pos_deserialize",
+ "float",
"hex",
"integer",
"key_origin_info_deserialize",