llvm-project/compiler-rt/lib
Matt Morehouse 52fd169035 [libFuzzer] Report at most one crash per input.
Summary:
Fixes https://github.com/google/sanitizers/issues/788/, a deadlock
caused by multiple crashes happening at the same time.  Before printing
a crash report, we now test and set an atomic flag.  If the flag was
already set, the crash handler returns immediately.

Reviewers: kcc

Reviewed By: kcc

Subscribers: llvm-commits, kubamracek

Differential Revision: https://reviews.llvm.org/D46277

llvm-svn: 331310
2018-05-01 21:01:53 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [libFuzzer] Report at most one crash per input. 2018-05-01 21:01:53 +00:00
builtins [compiler-rt][X86][AMD][Bulldozer] Fix Bulldozer Model 2 detection. 2018-05-01 18:40:15 +00:00
cfi [sanitizer] Build failures fixes post D45457 2018-04-16 16:58:34 +00:00
dfsan Reland "Install resource files into a share/ directory" 2018-01-14 03:43:14 +00:00
esan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
fuzzer [libFuzzer] Report at most one crash per input. 2018-05-01 21:01:53 +00:00
hwasan [HWASan] Use dynamic shadow memory on Android only. 2018-04-24 00:17:02 +00:00
interception The OpenBSD UBsan port introduced two typos that broke the Solaris sanitizer build. 2018-04-24 13:00:24 +00:00
lsan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
msan [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
profile Fix clang-cl warnings in compiler-rt 2018-04-23 17:05:47 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [libFuzzer] Report at most one crash per input. 2018-05-01 21:01:53 +00:00
scudo [scudo] Adding an interface function to print allocator stats 2018-04-25 18:52:29 +00:00
stats [sanitizer] Build failures fixes post D45457 2018-04-16 16:58:34 +00:00
tsan tsan: disable trace switching after multithreaded fork 2018-04-30 07:28:45 +00:00
ubsan [sanitizer] Fix OSX build failure post D45457 2018-04-16 18:17:22 +00:00
ubsan_minimal [ubsan-minimal] Fix the ubsan_minimal debug build (COMPILER_RT_DEBUG=1) on macOS. 2018-02-24 13:14:44 +00:00
xray [XRay][profiler] Part 1: XRay Allocator and Array Implementations 2018-04-29 13:46:30 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00