llvm-project/compiler-rt/lib
Max Moroz 3f26dac416 [libfuzzer] Compare TotalNumberOfRuns with MaxNumberOfRuns when testing a memory leak.
Summary:
Fuzzer::TryDetectingAMemoryLeak may call ExecuteCallback which would
increment TotalNumberOfRuns, but it doesn't respect Options.MaxNumberOfRuns
value specified by a user.

Context: https://github.com/google/oss-fuzz/issues/822#issuecomment-328153970

Reviewers: kcc

Reviewed By: kcc

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

llvm-svn: 312993
2017-09-12 02:01:54 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [compiler-rt] Move IsStackOverflow from asan into sanitizer_common 2017-09-12 00:44:23 +00:00
builtins [builtins] Prevent duplicate definitions for overridden functions 2017-08-30 17:12:57 +00:00
cfi CFI: Move STL allocator blacklist to clang 2017-08-04 20:04:01 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Use stack_t instead of struct sigaltstack (PR34011) 2017-08-22 21:54:37 +00:00
fuzzer [libfuzzer] Compare TotalNumberOfRuns with MaxNumberOfRuns when testing a memory leak. 2017-09-12 02:01:54 +00:00
interception [sanitizers CMake] NFC Refactor the logic for compiling and generating tests 2017-08-15 22:56:10 +00:00
lsan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
msan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
profile Revert r312240 2017-08-31 15:51:23 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [compiler-rt] Move IsStackOverflow from asan into sanitizer_common 2017-09-12 00:44:23 +00:00
scudo [scudo] Fix improper TSD init after TLS destructors are called 2017-09-11 19:59:40 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
ubsan [ubsan] Make ubsan version of __sanitizer_print_stack_trace consistent with other sanitizers 2017-09-11 21:25:22 +00:00
ubsan_minimal Runtime detection of android_set_abort_message. 2017-09-11 23:27:58 +00:00
xray [XRay][compiler-rt] Use a single global volatile recursion guard for FDR handlers 2017-09-12 01:37:59 +00:00
CMakeLists.txt Move libFuzzer to compiler_rt. 2017-08-21 23:25:50 +00:00