[compiler-rt] r311801 - [SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Matt Morehouse via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 14:18:30 PDT 2017
Author: morehouse
Date: Fri Aug 25 14:18:29 2017
New Revision: 311801
URL: http://llvm.org/viewvc/llvm-project?rev=311801&view=rev
Log:
[SanitizeCoverage] Enable stack-depth coverage for -fsanitize=fuzzer
Summary:
- Don't sanitize __sancov_lowest_stack.
- Don't instrument leaf functions.
- Add CoverageStackDepth to Fuzzer and FuzzerNoLink.
Reviewers: vitalybuka, kcc
Reviewed By: kcc
Subscribers: cfe-commits, llvm-commits, hiraditya
Differential Revision: https://reviews.llvm.org/D37156
Modified:
compiler-rt/trunk/test/fuzzer/deep-recursion.test
Modified: compiler-rt/trunk/test/fuzzer/deep-recursion.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/deep-recursion.test?rev=311801&r1=311800&r2=311801&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/deep-recursion.test (original)
+++ compiler-rt/trunk/test/fuzzer/deep-recursion.test Fri Aug 25 14:18:29 2017
@@ -1,4 +1,4 @@
# Test that we can find a stack overflow
-RUN: %cpp_compiler -fsanitize-coverage=stack-depth %S/DeepRecursionTest.cpp -o %t
+RUN: %cpp_compiler %S/DeepRecursionTest.cpp -o %t
RUN: not %t -seed=1 -runs=100000000 2>&1 | FileCheck %s
CHECK: ERROR: libFuzzer: deadly signal
More information about the llvm-commits
mailing list