llvm-project/compiler-rt/lib
Evgeniy Stepanov a4561123de [asan] Replace vfork with fork.
Summary:
vfork is not ASan-friendly because it modifies stack shadow in the
parent process address space. While it is possible to compensate for that with, for example,
__asan_handle_no_return before each call to _exit or execve and friends, simply replacing
vfork with fork looks like by far the easiest solution.

Posix compliant programs can not detect the difference between vfork and fork.

Fixes https://github.com/google/sanitizers/issues/925

Reviewers: kcc, vitalybuka

Subscribers: kubamracek, llvm-commits

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

llvm-svn: 327752
2018-03-16 22:15:05 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [asan] Replace vfork with fork. 2018-03-16 22:15:05 +00:00
builtins [PATCH] [compiler-rt, RISCV] Support builtins for RISC-V 2018-03-01 07:47:27 +00:00
cfi [cfi] Lazy initialization of CFI interceptors 2018-02-24 06:58:56 +00:00
dfsan Reland "Install resource files into a share/ directory" 2018-01-14 03:43:14 +00:00
esan [sanitizer] Move mmap interceptors into sanitizer_common 2018-03-07 00:13:54 +00:00
fuzzer fix some user facing typos / in the comments 2018-03-13 14:35:10 +00:00
hwasan Attempt to appease buildbots 2018-03-07 07:36:23 +00:00
interception OpenBSD Ubsan support / interception 2018-03-02 07:32:30 +00:00
lsan [Sanitizers] Add more standard compliant posix_memalign implementation for LSan. 2018-03-12 21:59:06 +00:00
msan [Fuzzer] Avoid the unnecessary rebuild of the custom libc++ 2018-03-07 18:14:09 +00:00
profile [NFC] fix trivial typos in comments 2018-01-22 07:51:37 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common Mmap interceptor new option, Write Exec runtime detector 2018-03-16 21:25:09 +00:00
scudo [scudo] Add Chunk::getSize, rework Chunk::getUsableSize 2018-03-14 15:50:32 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan tsan: revert: Update buildgo.sh to pass -isysroot on Darwin. 2018-03-16 10:20:58 +00:00
ubsan OpenBSD UBsan support / ubsan part 2018-03-02 07:30: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][compiler-rt] Add APIs for processing logs in memory 2018-03-07 02:45:14 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00