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

Matt Morehouse via All-commits all-commits at lists.llvm.org
Mon Mar 22 14:45:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bca0cf768b6021124f5e5315be333c2f45f14fca
      https://github.com/llvm/llvm-project/commit/bca0cf768b6021124f5e5315be333c2f45f14fca
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-03-22 (Mon, 22 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