hanchenye-llvm-project/compiler-rt/cmake
Kostya Serebryany 712fc9803a [sanitizer] Initial implementation of a Hardened Allocator
Summary:
This is an initial implementation of a Hardened Allocator based on Sanitizer Common's CombinedAllocator.
It aims at mitigating heap based vulnerabilities by adding several features to the base allocator, while staying relatively fast.
The following were implemented:
- additional consistency checks on the allocation function parameters and on the heap chunks;
- use of checksum protected chunk header, to detect corruption;
- randomness to the allocator base;
- delayed freelist (quarantine), to mitigate use after free and overall determinism.
Additional mitigations are in the works.

Reviewers: eugenis, aizatsky, pcc, krasin, vitalybuka, glider, dvyukov, kcc

Subscribers: kubabrecka, filcab, llvm-commits

Differential Revision: http://reviews.llvm.org/D20084

llvm-svn: 271968
2016-06-07 01:20:26 +00:00
..
Modules [CMake] detect_target_arch needs to be moved to Utils 2016-06-03 17:34:02 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake [CMake] Support constructing output paths from LLVM variables 2016-06-03 23:15:04 +00:00
builtin-config-ix.cmake [CMake] Support platform building builtins without a full toolchain 2016-05-09 21:45:52 +00:00
config-ix.cmake [sanitizer] Initial implementation of a Hardened Allocator 2016-06-07 01:20:26 +00:00