Skip to content

Commit

Permalink
Move libfuzzer sanitizer options to README
Browse files Browse the repository at this point in the history
This is something you might want to change depending on the version to
use, there is no point in us fixing this to something.

Reviewed-by: Rich Salz <[email protected]>
GH: openssl#2023
  • Loading branch information
kroeckx committed Dec 2, 2016
1 parent 1b6a77a commit 0282aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Configure
Original file line number Diff line number Diff line change
Expand Up @@ -1110,10 +1110,6 @@ if ($disabled{"dynamic-engine"}) {
$config{dynamic_engines} = 1;
}

unless ($disabled{"fuzz-libfuzzer"}) {
$config{cflags} .= "-fsanitize-coverage=edge,indirect-calls,8bit-counters ";
}

unless ($disabled{asan}) {
$config{cflags} .= "-fsanitize=address ";
}
Expand Down
3 changes: 2 additions & 1 deletion fuzz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Configure for fuzzing:
--with-fuzzer-include=../../svn-work/Fuzzer \
--with-fuzzer-lib=../../svn-work/Fuzzer/libFuzzer \
-DPEDANTIC enable-asan enable-ubsan no-shared \
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION \
-fsanitize-coverage=edge,indirect-calls,8bit-counters
$ sudo apt-get install make
$ LDCMD=clang++ make -j
$ fuzz/helper.py $FUZZER
Expand Down

0 comments on commit 0282aeb

Please sign in to comment.