summaryrefslogtreecommitdiffstats
path: root/tests-fuzz
diff options
context:
space:
mode:
authorDaniel Salzman <daniel.salzman@nic.cz>2018-03-09 14:36:18 +0100
committerDaniel Salzman <daniel.salzman@nic.cz>2018-03-09 14:36:18 +0100
commit7b029b7a70a469df092d001e471189e2183bf92a (patch)
treed6d8fcc393b33d280fa03aa12c082881db97a857 /tests-fuzz
parenttests: move zscanner tests and libtap + improvements (diff)
downloadknot-7b029b7a70a469df092d001e471189e2183bf92a.tar.xz
knot-7b029b7a70a469df092d001e471189e2183bf92a.zip
tests-fuzz: update README
Diffstat (limited to 'tests-fuzz')
-rw-r--r--tests-fuzz/README.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests-fuzz/README.md b/tests-fuzz/README.md
index a220dd54c..0c81dd04e 100644
--- a/tests-fuzz/README.md
+++ b/tests-fuzz/README.md
@@ -35,8 +35,7 @@
1. Ensure [Clang](https://clang.llvm.org) with `-fsanitize=fuzzer` support (e.g. [LLVM](https://apt.llvm.org))
1. Configure with
- 2. `./configure --with-fuzzer --disable-shared --disable-daemon --disable-utilities
- --disable-documentation --disable-modules`
+ 2. `./configure --with-fuzzer --disable-shared --disable-documentation`
2. (You should also add `--with-sanitizer=`
`address` for [ASAN](http://clang.llvm.org/docs/AddressSanitizer.html) or
`undefined` for [UBSAN](http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html))
@@ -54,7 +53,7 @@
2. `./fuzz_zscanner -merge=1 fuzz_zscanner.in <DIR_WITH_NEW_ZSCANNER_TEST_CASES>`
1. Run the fuzzer
2. (Set proper symbolizer if necessary
- `export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-6.0` for ASAN or
- `export UBSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-6.0` for UBSAN)
+ ``export ASAN_SYMBOLIZER_PATH=$(readlink -f `which llvm-symbolizer-6.0`)`` for ASAN or
+ ``export UBSAN_SYMBOLIZER_PATH=$(readlink -f `which llvm-symbolizer-6.0`)`` for UBSAN)
2. `./fuzz_packet fuzz_packet.in` or `./fuzz_zscanner fuzz_zscanner.in`
2. (Add parallel fuzzing `-jobs=<CPUS>`