Go to file
Kuba Mracek fe7e91b003 [asan] Implement "scribble" flags, which overwrite free'd memory with 0x55
This patch implements "Malloc Scribble" in ASan via "max_free_fill_size" and "free_fill_byte" flags, which can be used to overwrite free()'d memory. We also match the behavior of MallocScribble and MallocPreScribble env vars on macOS (see https://developer.apple.com/library/content/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html), which is a helpful tool to detect use-after-free bugs that happen in non-instrumented code.

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

llvm-svn: 299085
2017-03-30 15:44:57 +00:00
clang Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
clang-tools-extra Spelling mistakes in comments. NFCI. 2017-03-30 13:10:33 +00:00
compiler-rt [asan] Implement "scribble" flags, which overwrite free'd memory with 0x55 2017-03-30 15:44:57 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx libc++ testing: fix invalid python syntax 2017-03-30 05:21:33 +00:00
libcxxabi Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
libunwind [libunwind] Add sphinx docs 2017-03-28 15:21:43 +00:00
lld Remove parameter names from template instantiations to make them compact. NFC. 2017-03-29 20:15:29 +00:00
lldb Mask out EXC_SYSCALL exceptions as well. 2017-03-30 00:23:46 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm Test commit. 2017-03-30 13:17:25 +00:00
openmp Fix for bug https://llvm.org/bugs/show_bug.cgi?id=30889 2017-03-28 13:35:42 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly revert test commit r299024 2017-03-29 20:23:56 +00:00