llvm-project/compiler-rt/test/asan
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
..
TestCases [asan] Replace vfork with fork. 2018-03-16 22:15:05 +00:00
Unit [lit] Limit parallelism of sanitizer tests on Darwin [compiler-rt part, take 2] 2017-01-20 00:25:01 +00:00
CMakeLists.txt [asan] Add "arm64" into the list of 64-bit architectures 2018-02-15 22:14:36 +00:00
lit.cfg Enable test/asan for NetBSD 2018-02-15 14:59:59 +00:00
lit.site.cfg.in [sanitizer] Move android_commoands from asan into sanitizer_common 2017-09-16 05:13:56 +00:00