hanchenye-llvm-project/compiler-rt
Evgeniy Stepanov 45328240dc [msan] Mprotect all inaccessible memory regions.
Fix 2 bugs in memory mapping setup:
- the invalid region at offset 0 was not protected because mmap at
  address 0 fails with EPERM on most Linux systems. We did not
  notice this because the check condition was flipped: the code was
  checking that mprotect has failed. And the test that was supposed
  to catch this was weakened by the mitigations in the mmap
  interceptor.
- when running without origins, the origin shadow range was left
  unprotected.

The new test ensures that mmap w/o MAP_FIXED always returns valid
application addresses.

llvm-svn: 238109
2015-05-24 02:47:59 +00:00
..
cmake Silence some CMake 3.3 dev warnings in compiler-rt 2015-05-20 16:56:17 +00:00
include Add dfsan_weak_hook_memcmp 2015-05-07 00:04:39 +00:00
lib [msan] Mprotect all inaccessible memory regions. 2015-05-24 02:47:59 +00:00
make [darwin] fix libcompiler_rt.dylib build 2015-05-20 22:37:46 +00:00
test [msan] Mprotect all inaccessible memory regions. 2015-05-24 02:47:59 +00:00
unittests Use the newer python syntax for exceptions 2014-12-13 02:46:56 +00:00
www Rewrite compiler-rt.llvm.org to make it relevant 2014-02-27 14:39:48 +00:00
.arcconfig Update arc config to new domain. 2014-04-07 10:22:41 +00:00
.gitignore Add vim swap files to .gitignore 2014-03-20 19:44:33 +00:00
CMakeLists.txt Revert some of "Silence some CMake 3.3 dev warnings in compiler-rt" 2015-05-20 18:39:59 +00:00
CODE_OWNERS.TXT Add myself as a c-rt owner of ASan/Win 2014-02-27 12:07:43 +00:00
CREDITS.TXT Add Guan-Hong Liu. 2014-06-16 08:38:19 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 19:53:06 +00:00
Makefile Revert r196490 and fix include paths in makefile-based build 2013-12-05 10:40:11 +00:00
README.txt Moved the builtins documentation to lib/builtins/ 2014-05-28 23:09:45 +00:00

README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================