Antoine Poinsot
15ae4a17c4
test/fuzz: add a seed corpus generation option to the test_runner
...
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
2020-08-23 23:09:26 +02:00
MarcoFalke
3333cb9699
fuzz: Pass down MAKEJOBS to test_runner
2020-05-10 07:49:09 -04:00
MarcoFalke
fa66280396
fuzz: Run in parallel
2020-04-17 15:43:23 -04:00
MarcoFalke
fa488f131f
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
2020-04-16 13:33:09 -04:00
MarcoFalke
fa5e973b44
test: Set -use_value_profile=1 when merging fuzz inputs
2020-04-09 00:51:51 +08:00
MarcoFalke
facc332dc5
fuzz: Avoid running over all inputs after merging them
2020-04-03 08:30:40 +08:00
MarcoFalke
5c9d408b2d
Merge #18300 : fuzz: Add option to merge input dir to test runner
...
fa3fa27c45
fuzz: Remove option --export_coverage from test_runner (MarcoFalke)
aaaa055ff7
fuzz: Add option to merge input dir to test runner (MarcoFalke)
fa4fa88d76
doc: Remove --disable-ccache from docs (MarcoFalke)
Pull request description:
This is mainly useful for myself to merge pull requests like https://github.com/bitcoin-core/qa-assets/pull/4
I thought it wouldn't hurt to share the code.
Also remove the `--disable-ccache` from the docs to speed up builds when developing fuzzers.
Top commit has no ACKs.
Tree-SHA512: 818d85a90db86a7f4e8b001cc88342e5b28b02029d2bd4174440b28a8c4cc29b5406bd6348f72ddf909bb3d0f9bf7b1011976f6480e4418c8b7da5ecccae93e8
2020-03-18 15:51:44 -04:00
MarcoFalke
fa3fa27c45
fuzz: Remove option --export_coverage from test_runner
...
The coverage statistics are not stable across clang versions
2020-03-10 11:15:11 -04:00
practicalswift
6590395f60
tests: Remove FUZZERS_MISSING_CORPORA
2020-03-09 17:20:52 +00:00
practicalswift
815c7a6793
tests: Add basic fuzzing harness for CNetAddr/CService/CSubNet related functions (netaddress.h)
2020-03-09 15:16:36 +00:00
MarcoFalke
aaaa055ff7
fuzz: Add option to merge input dir to test runner
2020-03-09 11:13:57 -04:00
practicalswift
bf06641819
tests: Reset FUZZERS_MISSING_CORPORA to enable regression fuzzing for more harnesses
2020-03-09 14:30:18 +00:00
practicalswift
c7ea12d098
tests: Add key_io fuzzing harness
2020-03-07 13:39:25 +00:00
practicalswift
0d0bc3b5c1
build: Add locale fuzzer to FUZZERS_MISSING_CORPORA
2020-03-06 23:29:23 +00:00
MarcoFalke
3f826598a4
Merge #17972 : tests: Add fuzzing harness for CKey and key related functions
...
f4691b6c21
tests: Add fuzzing harness for CKey related functions (practicalswift)
Pull request description:
Add fuzzing harness for `CKey` and key related functions.
**How to test this PR**
```
$ make distclean
$ ./autogen.sh
$ CC=clang CXX=clang++ ./configure --enable-fuzz \
--with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/key
…
#4096 pulse cov: 5736 ft: 6960 corp: 27/833b lim: 67 exec/s: 2048 rss: 122Mb
#8192 pulse cov: 5736 ft: 6960 corp: 27/833b lim: 103 exec/s: 2048 rss: 143Mb
#13067 NEW cov: 5736 ft: 6965 corp: 28/865b lim: 154 exec/s: 2177 rss: 166Mb L: 32/32 MS: 1 ChangeBit-
#16384 pulse cov: 5736 ft: 6965 corp: 28/865b lim: 182 exec/s: 2048 rss: 181Mb
#32768 pulse cov: 5736 ft: 6965 corp: 28/865b lim: 347 exec/s: 2184 rss: 258Mb
…
```
Top commit has no ACKs.
Tree-SHA512: 5b17ffb70c31966d3eac06d2258c127ae671d28d6cdf4e6ac20b45cd59ad32f80952c9c749930b97d317c72d5f840a3b75d466fd28fb6c351424a72c3e41bcbc
2020-03-05 16:43:16 -05:00
practicalswift
f4691b6c21
tests: Add fuzzing harness for CKey related functions
2020-03-05 21:11:10 +00:00
MarcoFalke
a2b5aae9f3
Merge #17996 : tests: Add fuzzing harness for serialization/deserialization of floating-points and integrals
...
9ff41f6419
tests: Add float to FUZZERS_MISSING_CORPORA (temporarily) (practicalswift)
8f6fb0a85a
tests: Add serialization/deserialization fuzzing for integral types (practicalswift)
3c82b92d2e
tests: Add fuzzing harness for functions taking floating-point types as input (practicalswift)
c2bd588860
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
2020-03-05 15:41:30 -05:00
practicalswift
9ff41f6419
tests: Add float to FUZZERS_MISSING_CORPORA (temporarily)
2020-03-05 20:35:26 +00:00
MarcoFalke
fa6df0de53
test: Bump timeouts to accomodate really slow disks
2020-03-02 16:25:05 -05:00
MarcoFalke
324a6dfeaf
Merge #17771 : tests: Add fuzzing harness for V1TransportDeserializer (P2P transport)
...
2f63ffd15c
tests: Add fuzzing harness for V1TransportDeserializer (P2P transport) (practicalswift)
Pull request description:
Add fuzzing harness for `V1TransportDeserializer` (P2P transport).
**Testing this PR**
Run:
```
$ make distclean
$ ./autogen.sh
$ CC=clang CXX=clang++ ./configure --enable-fuzz \
--with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/p2p_transport_deserializer
…
```
ACKs for top commit:
MarcoFalke:
ACK 2f63ffd15c
Tree-SHA512: 8507d4a0414d16f1b8cc9649e3e638f74071dddc990d7e5d7e6faf77697f50bdaf133e49e2371edd29068a069a074469ef53148c6bfc9950510460b81d87646a
2020-02-28 02:35:14 +07:00
practicalswift
eabbbe409f
tests: Add fuzzing harness for rolling bloom filter class CRollingBloomFilter
2020-02-25 17:04:03 +00:00
practicalswift
2a6a6ea0f5
tests: Add fuzzing harness for bloom filter class CBloomFilter
2020-02-25 17:04:03 +00:00
practicalswift
f2472f6460
tests: Improve test runner output in case of target errors
2020-02-19 14:27:19 +00:00
practicalswift
5ea81449f3
tests: Add support for excluding fuzz targets using -x/--exclude
2020-02-19 14:10:22 +00:00
practicalswift
555236f769
tests: Remove -detect_leaks=0 from test/fuzz/test_runner.py - no longer needed
2020-02-19 13:36:03 +00:00
practicalswift
a3b539a924
ci: Run fuzz testing test cases under valgrind
2020-02-18 06:56:26 +00:00
practicalswift
1b068c50dd
tests: Add --valgrind option to test/fuzz/test_runner.py for running fuzzing test cases under valgrind
2020-02-16 11:11:54 +00:00
practicalswift
4d2aceaad8
tests: Add fuzzer asmap to FUZZERS_MISSING_CORPORA (temporarily)
2020-01-30 16:06:02 +00:00
practicalswift
ccc3c76e2b
tests: Add fuzzer strprintf to FUZZERS_MISSING_CORPORA (temporarily)
2020-01-27 21:31:42 +00:00
practicalswift
2f63ffd15c
tests: Add fuzzing harness for V1TransportDeserializer (P2P transport)
2020-01-22 13:08:34 +00:00
practicalswift
bcad0144ef
tests: Add fuzzing harness for DecodeHexTx(...)
2019-12-19 20:20:05 +00:00
practicalswift
22d9bae36f
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-12-16 22:50:49 +00:00
practicalswift
ec8dcb0199
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-12-15 21:27:38 +00:00
practicalswift
0dc5907d0f
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-12-10 16:39:40 +00:00
MarcoFalke
1189b6acab
Merge #17109 : tests: Add fuzzing harness for various functions consuming only integrals
...
597d10ceb9
tests: Add fuzzing harness for various functions consuming only integrals (practicalswift)
575383b3e1
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus (practicalswift)
Pull request description:
Add fuzzing harness for various functions consuming only integrals.
**Testing this PR**
Run:
```
$ CC=clang CXX=clang++ ./configure --enable-fuzz \
--with-sanitizers=address,fuzzer,undefined
$ make
$ src/test/fuzz/integer
```
Top commit has no ACKs.
Tree-SHA512: f0ccbd63671636f8e661385b682e16ad287fef8f92e7f91327ee2093afc36fcd424e1646fe90279388e28a760bcc795766eb80cf6375e0f873efff37fc7e2393
2019-12-09 15:22:27 -05:00
practicalswift
575383b3e1
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-12-06 09:14:03 +00:00
practicalswift
d5766f223f
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-12-06 09:11:02 +00:00
practicalswift
897849d8c2
tests: Add deserialization fuzzing harnesses
2019-11-21 17:53:06 +00:00
practicalswift
16f0a186dc
tests: Add corpora suppression (FUZZERS_MISSING_CORPORA) for fuzzers missing in https://github.com/bitcoin-core/qa-assets/tree/master/fuzz_seed_corpus
2019-11-21 17:52:35 +00:00
MarcoFalke
fa2ec9f451
fuzz: Bump timeout in test_runner to accomodate for slow arm64 CPUs
2019-11-14 13:50:20 -05:00
MarcoFalke
fa35c4239f
test: Log output even if fuzzer failed
2019-06-18 16:30:36 -04:00
MarcoFalke
fa535af92c
fuzz: test_runner: Better error message when built with afl
2019-02-14 15:47:08 -05:00
MarcoFalke
fa7ca8ef58
qa: Add test/fuzz/test_runner.py
2019-02-13 17:12:28 -05:00