[all-commits] [llvm/llvm-project] 6c2b2b: [compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSA...

Michał Górny via All-commits all-commits at lists.llvm.org
Thu Dec 5 23:09:05 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2b2b9e20abb27ab5c1ae255c1862785b793c1f
      https://github.com/llvm/llvm-project/commit/6c2b2b9e20abb27ab5c1ae255c1862785b793c1f
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M compiler-rt/test/asan/lit.cfg.py
    M compiler-rt/test/lit.common.cfg.py
    M compiler-rt/test/msan/lit.cfg.py
    M compiler-rt/test/sanitizer_common/lit.common.cfg.py
    A compiler-rt/test/sanitizer_common/netbsd_commands/run_noaslr.sh
    M compiler-rt/test/tsan/lit.cfg.py

  Log Message:
  -----------
  [compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSAN tests on NetBSD

Use a new %run wrapper for ASAN/MSAN/TSAN tests that calls paxctl
in order to disable ASLR on the test executables.  This makes it
possible to test sanitizers on systems where ASLR is enabled by default.

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




More information about the All-commits mailing list