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

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri Jun 14 15:38:02 PDT 2024


  Branch: refs/heads/users/fmayer/spr/hwasan-symbolize-stack-overflows
  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>


  Commit: 41c50f0836439f4d53e7209cd9e9ce54341ed9a3
      https://github.com/llvm/llvm-project/commit/41c50f0836439f4d53e7209cd9e9ce54341ed9a3
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_uas.cpp

  Log Message:
  -----------
  [HWASan] comment why hwasan_symbolize_stack_uas is arm64 only


  Commit: 572463f2eefcac7c8ab8165eaf52738372879fdf
      https://github.com/llvm/llvm-project/commit/572463f2eefcac7c8ab8165eaf52738372879fdf
  Author: Florian Mayer <fmayer at google.com>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

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

  Log Message:
  -----------
  fix

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/59a613254851...572463f2eefc

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