llvm-capstone/compiler-rt/lib
Evgeniy Stepanov 3b7e8b2dbb [sanitizer] Support running without fd 0,1,2.
Summary:
Support running with no open file descriptors (as may happen to
"init" process on linux).
* Remove a check that writing to stderr succeeds.
* When opening a file (ex. for log_path option), dup the new fd out of
[0, 2] range to avoid confusing the program.

(2nd attempt, this time without the sanitizer_rtems change)

Reviewers: pcc, vitalybuka

Subscribers: kubamracek, llvm-commits

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

llvm-svn: 349817
2018-12-20 20:36:33 +00:00
..
asan Remove pointless casts. 2018-12-20 01:49:21 +00:00
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
builtins [builtins] Remove trailing whitespaces, NFC 2018-12-10 22:52:59 +00:00
cfi Unbreak linux cfi build 2018-10-01 18:14:02 +00:00
dfsan [dfsan] Fix build after r346262 2018-11-06 20:42:19 +00:00
esan [Sanitizer] Separate FreeBSD interception data structures 2018-12-07 20:05:55 +00:00
fuzzer [libFuzzer] make len_control less aggressive 2018-12-14 23:21:31 +00:00
hwasan [HWASAN] Add support for memory intrinsics 2018-12-20 09:10:03 +00:00
interception [interception] Switch to _type suffix instead of _f, NFC. 2018-10-22 20:54:48 +00:00
lsan Introduce AddressSpaceView template parameter to SizeClassAllocator32, FlatByteMap, and TwoLevelByteMap. 2018-12-14 09:03:18 +00:00
msan Introduce AddressSpaceView template parameter to SizeClassAllocator32, FlatByteMap, and TwoLevelByteMap. 2018-12-14 09:03:18 +00:00
profile [GCOV] Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution 2018-11-07 09:38:26 +00:00
safestack SafeStack: Fix thread liveness check on *BSD 2018-08-28 18:30:03 +00:00
sanitizer_common [sanitizer] Support running without fd 0,1,2. 2018-12-20 20:36:33 +00:00
scudo Introduce AddressSpaceView template parameter to SizeClassAllocator32, FlatByteMap, and TwoLevelByteMap. 2018-12-14 09:03:18 +00:00
stats [CMake] Add compiler-rt header files to the list of sources for targets 2018-07-10 13:00:17 +00:00
tsan tsan: align default value of detect_deadlocks flag with actual behavior 2018-12-19 09:34:13 +00:00
ubsan [compiler-rt][UBSan] silence_unsigned_overflow: do *NOT* ignore *fatal* unsigned overflows 2018-11-21 20:35:43 +00:00
ubsan_minimal [ubsan-minimal] update comments in CMakeLists.txt 2018-10-30 01:20:12 +00:00
xray Fix a gcc -Wpedantix warning 2018-12-18 15:17:01 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00