hanchenye-llvm-project/compiler-rt/lib/scudo
Kostya Kortchinsky ada2761407 [scudo] Fix an edge case in the secondary allocator
Summary:
s/CHECK_LT/CHECK_LE/ in the secondary allocator, as under certain circumstances
Ptr + Size can be equal to MapEnd. This edge case was not found by the current
tests, so those were extended to be able to catch that.

Reviewers: kcc

Subscribers: llvm-commits

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

llvm-svn: 282913
2016-09-30 19:57:21 +00:00
..
CMakeLists.txt [CMake] Connect Compiler-RT targets to LLVM Runtimes directory 2016-08-26 20:52:22 +00:00
scudo_allocator.cpp [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
scudo_allocator.h
scudo_allocator_secondary.h [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
scudo_flags.cpp [sanitizer] Implement a __asan_default_options() equivalent for Scudo 2016-08-02 22:25:38 +00:00
scudo_flags.h
scudo_flags.inc
scudo_interceptors.cpp
scudo_new_delete.cpp
scudo_termination.cpp [sanitizer] Implement a __asan_default_options() equivalent for Scudo 2016-08-02 22:25:38 +00:00
scudo_utils.cpp [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
scudo_utils.h [scudo] add NORETURN to the declaration of dieWithMessage; this should fix a warning in lib/scudo/scudo_termination.cpp 2016-08-02 23:23:13 +00:00