llvm-project/compiler-rt/lib
Evgeniy Stepanov 5b332abd66 [hwasan] Fix malloc overflow detection.
Check size limit before rounding up, otherwise malloc((size_t)-1)
would happily allocate 0 bytes.

Steal a nice test case from scudo.

llvm-svn: 341612
2018-09-07 00:27:11 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [Xray] Darwin improving slightly the support 2018-08-30 05:55:27 +00:00
builtins ARM: wrap call to __clzsi2 so that the name is correct on MachO. 2018-09-06 12:13:46 +00:00
cfi cfi: Remove blacklist entries for libc++. 2018-08-15 18:05:55 +00:00
dfsan sanitizers: consistently check result of MmapFixedNoReserve 2018-07-20 08:33:41 +00:00
esan esan: fix shadow setup 2018-07-20 13:40:08 +00:00
fuzzer [libFuzzer] Enable tests on Windows 2018-09-04 17:08:47 +00:00
hwasan [hwasan] Fix malloc overflow detection. 2018-09-07 00:27:11 +00:00
interception Introduce new type for inteceptors UINTMAX_T 2018-08-29 09:11:17 +00:00
lsan Revert "[lsan] Do not check for leaks in the forked process" 2018-08-27 17:26:28 +00:00
msan [MSan] store origins for variadic function parameters in __msan_va_arg_origin_tls 2018-09-06 15:14:36 +00:00
profile [compiler-rt] Add a routine to specify the mode used when creating profile dirs. 2018-07-31 23:37:24 +00:00
safestack SafeStack: Fix thread liveness check on *BSD 2018-08-28 18:30:03 +00:00
sanitizer_common [hwasan] Remove allocator interceptors. 2018-09-06 22:53:08 +00:00
scudo [sanitizer] Revert D50940 2018-08-29 19:41:28 +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] Update assembly test again. 2018-09-04 17:04:30 +00:00
ubsan [compiler-rt][ubsan] Implicit Conversion Sanitizer - integer truncation - compiler-rt part 2018-07-30 18:58:30 +00:00
ubsan_minimal [compiler-rt][ubsan] Implicit Conversion Sanitizer - integer truncation - compiler-rt part 2018-07-30 18:58:30 +00:00
xray [Xray] Darwin providing defined value for weak symbols to fix linkage issue 2018-09-05 05:18:34 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00