[all-commits] [llvm/llvm-project] 58f725: [msan] Re-exec with no ASLR if memory layout is in...

Thurston Dang via All-commits all-commits at lists.llvm.org
Fri Mar 15 09:49:22 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58f7251820b14c93168726a24816d8a094599be5
      https://github.com/llvm/llvm-project/commit/58f7251820b14c93168726a24816d8a094599be5
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M compiler-rt/lib/msan/msan.cpp
    M compiler-rt/lib/msan/msan.h
    M compiler-rt/lib/msan/msan_linux.cpp

  Log Message:
  -----------
  [msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)

This ports the change from TSan
(https://github.com/llvm/llvm-project/commit/0784b1eefa36d4acbb0dacd2d18796e26313b6c5).

Testing notes: run 'sudo sysctl vm.mmap_rnd_bits=32; ninja check-msan'
before and after this patch.

N.B. aggressive ASLR may also cause the app to overlap with the
allocator region; for MSan, this was fixed in
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list