[msan] gethostbyname interceptor.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173249 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] simplify the code that poisons global redzones, add some more tests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173251 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add missing interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173253 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add stubs for malloc introspection (similar to what we have in asan)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173255 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173260 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] increase the minimal mmap size in allocator to 2^16; fix the asan Mac build 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173261 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Allow waitpid while in __msan_init().

This is used in symbolizer init.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173263 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: also test asan during presubmit checks, because sanitizer_common changes can affect it


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173327 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: fix pwrite interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173328 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: implement malloc stats querying


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] fix compilation on Mac by adding a missing pwrite parameter.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173333 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] run-time tests for adaptive redzones 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173336 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] Add skeleton for InternalSymbolizer that can be used by providing callbacks __sanitizer_symbolize_{code,data}

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173344 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: allow a front-end to provide default suppressions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173345 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: suppress reports using both stacks


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173346 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] use stub InternalSymbolizer on platforms where we don't have weak hooks

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173347 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: return the old fake numbers from malloc stats (some code already depends on them)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173348 91177308-0d34-0410-b5e6-96231b3b80d8
[Sanitizer] fix errors in scanf interceptors: add support for %c and fix cases like %5d

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173440 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fix calloc overflow in asan/tsan/msan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173441 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] improve the calloc overflow check (spotted by samsonov@)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173443 91177308-0d34-0410-b5e6-96231b3b80d8