[all-commits] [llvm/llvm-project] 6f66b1: [sanitizer-common] Expand testing for 56-bit addre...

Thurston Dang via All-commits all-commits at lists.llvm.org
Tue Apr 25 20:04:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f66b12528cc27031b5cfa1f49bf44f99755731c
      https://github.com/llvm/llvm-project/commit/6f66b12528cc27031b5cfa1f49bf44f99755731c
  Author: Thurston Dang <thurston at google.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    A compiler-rt/test/sanitizer_common/TestCases/Linux/mmap_56bit_test.c
    A compiler-rt/test/sanitizer_common/TestCases/Linux/pie_no_aslr.cpp
    R compiler-rt/test/tsan/Linux/pie_no_aslr.cpp

  Log Message:
  -----------
  [sanitizer-common] Expand testing for 56-bit address spaces

This patch adds mmap_56bit_test.c, which attempts to deliberately
mmap above 2^47. This currently exposes a failure on ASan on
systems with 56-bit user address spaces, because it allows an mmap
above 2^47 but the shadow mapping is only set up for a 2^47 user address
space.

Additionally, this patch moves pie_no_aslr from the tsan tests into
sanitizer-common, for greater test coverage.

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




More information about the All-commits mailing list