[all-commits] [llvm/llvm-project] 772851: [HWASan] Disable stack, globals and force callback...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Mon Mar 22 08:02:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 772851ca4e509982c333d9724b6f8d4456df42af
      https://github.com/llvm/llvm-project/commit/772851ca4e509982c333d9724b6f8d4456df42af
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M compiler-rt/test/hwasan/TestCases/deep-recursion.c
    M compiler-rt/test/hwasan/TestCases/global.c
    M compiler-rt/test/hwasan/TestCases/longjmp.c
    M compiler-rt/test/hwasan/TestCases/mem-intrinsics.c
    M compiler-rt/test/hwasan/TestCases/register-dump-no-fp.cpp
    M compiler-rt/test/hwasan/TestCases/rich-stack.c
    M compiler-rt/test/hwasan/TestCases/stack-history-length.c
    M compiler-rt/test/hwasan/TestCases/stack-oob.c
    M compiler-rt/test/hwasan/TestCases/stack-uar-dynamic.c
    M compiler-rt/test/hwasan/TestCases/stack-uar-realign.c
    M compiler-rt/test/hwasan/TestCases/stack-uar.c
    M compiler-rt/test/hwasan/TestCases/use-after-free.c
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/atomic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/basic.ll
    M llvm/test/Instrumentation/HWAddressSanitizer/X86/kernel.ll

  Log Message:
  -----------
  [HWASan] Disable stack, globals and force callbacks for x86_64.

Subsequent patches will implement page-aliasing mode for x86_64, which
will initially only work for the primary heap allocator.  We force
callback instrumentation to simplify the initial aliasing
implementation.

Reviewed By: vitalybuka, eugenis

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




More information about the All-commits mailing list