[all-commits] [llvm/llvm-project] 642b80: [sanitizer] Support dynamic premapped R/W range in...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Tue Mar 23 10:00:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 642b80013ca630e1200e1702b4310308524b97da
      https://github.com/llvm/llvm-project/commit/642b80013ca630e1200e1702b4310308524b97da
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-03-23 (Tue, 23 Mar 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary32.h
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp

  Log Message:
  -----------
  [sanitizer] Support dynamic premapped R/W range in primary allocator.

The main use case for this change is HWASan aliasing mode, which premaps
the alias space adjacent to the dynamic shadow.  With this change, the
primary allocator can allocate from the alias space instead of a
separate region.

Reviewed By: vitalybuka, eugenis

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




More information about the All-commits mailing list