[zorg] r310746 - [libFuzzer] test libFuzzer using -fsanitize=fuzzer/fuzzer-no-link
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 12:37:45 PDT 2017
Author: kcc
Date: Fri Aug 11 12:37:44 2017
New Revision: 310746
URL: http://llvm.org/viewvc/llvm-project?rev=310746&view=rev
Log:
[libFuzzer] test libFuzzer using -fsanitize=fuzzer/fuzzer-no-link
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh?rev=310746&r1=310745&r2=310746&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_fuzzer.sh Fri Aug 11 12:37:44 2017
@@ -55,9 +55,7 @@ echo @@@BUILD_STEP get fuzzer-test-suite
RunFuzzerTest() {
echo @@@BUILD_STEP test "$1" fuzzer@@@
ln -sf $LIBFUZZER .
- CUSTOM_FLAGS="-O2 -fno-omit-frame-pointer -g -fsanitize=address -fsanitize-coverage=trace-pc-guard,trace-cmp,trace-gep,trace-div,pc-table"
- export CFLAGS="$CUSTOM_FLAGS"
- export CXXFLAGS="$CUSTOM_FLAGS"
+ export FUZZING_ENGINE=fsanitize_fuzzer
`pwd`/fuzzer-test-suite/build-and-test.sh "$1"
}
More information about the llvm-commits
mailing list