aboutsummaryrefslogtreecommitdiff
path: root/doc/fuzzing.md
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-10-30 10:16:55 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-10-30 10:17:54 -0400
commit341e8d355d1a74aadb3a88a12a58cfda6ca262bc (patch)
tree9dfc5f36ea607dfed6ee46814e39a638d9dc762b /doc/fuzzing.md
parentedd9d0781b96e71f88bd87b30dd10ad008b964a5 (diff)
parent595cc9bcafb16709c0dd4a36d5921feb009ce430 (diff)
downloadbitcoin-341e8d355d1a74aadb3a88a12a58cfda6ca262bc.tar.xz
Merge #17291: tests: Add fuzzing harness for ISO-8601 related functions
595cc9bcafb16709c0dd4a36d5921feb009ce430 docs: Add undefined to --with-sanitizers=fuzzer,address (practicalswift) d5dbb4898c437d3d2a5798d79c3986ba9e0b72f9 tests: Add fuzzing harness for ISO-8601 related functions (practicalswift) Pull request description: Add fuzzing harness for ISO-8601 related functions. **Testing this PR** Run: ``` $ CC=clang CXX=clang++ ./configure --enable-fuzz \ --with-sanitizers=address,fuzzer,undefined $ make $ src/test/fuzz/parse_iso8601 … ``` Top commit has no ACKs. Tree-SHA512: 8d4ad9e4eef546e97ea330cf518fdd7241c6f016d6c45c011369d5cdd832bbbc3564d1a990c953ffb33b0c05e58f5533e7b6fd77062f8484df36da1513567915
Diffstat (limited to 'doc/fuzzing.md')
-rw-r--r--doc/fuzzing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/fuzzing.md b/doc/fuzzing.md
index 3dc6be8b86..50e9251b8d 100644
--- a/doc/fuzzing.md
+++ b/doc/fuzzing.md
@@ -77,13 +77,13 @@ will print an error and suggestion if so.
## libFuzzer
-A recent version of `clang`, the address sanitizer and libFuzzer is needed (all
+A recent version of `clang`, the address/undefined sanitizers (ASan/UBSan) and libFuzzer is needed (all
found in the `compiler-rt` runtime libraries package).
To build all fuzz targets with libFuzzer, run
```
-./configure --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++
+./configure --disable-ccache --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=clang CXX=clang++
make
```