[all-commits] [llvm/llvm-project] 0ca05e: Reland '[hwasan] Add fixed_shadow_base flag (#7398...

Thurston Dang via All-commits all-commits at lists.llvm.org
Thu Jun 13 17:47:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ca05e8221d20c7bb06f59dd4eb3d486228b962a
      https://github.com/llvm/llvm-project/commit/0ca05e8221d20c7bb06f59dd4eb3d486228b962a
  Author: Thurston Dang <thurston at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_flags.inc
    M compiler-rt/lib/hwasan/hwasan_linux.cpp
    A compiler-rt/test/hwasan/TestCases/Linux/fixed-shadow.c

  Log Message:
  -----------
  Reland '[hwasan] Add fixed_shadow_base flag (#73980)' (#95445)

This was reverted in https://github.com/llvm/llvm-project/pull/95435
because it broke Android static hwasan binaries. This reland limits the
change to !SANITIZER_ANDROID.

Original commit message:
When set to non-zero, the HWASan runtime will map the shadow base at the
specified constant address.

This is particularly useful in conjunction with the existing compiler
option 'hwasan-mapping-offset', which bakes a hardcoded constant address
into the instrumentation.

---------

Co-authored-by: Vitaly Buka <vitalybuka at gmail.com>



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