[all-commits] [llvm/llvm-project] 67b950: [hwasan] Fix allocator alignment.

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Mon May 11 15:46:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 67b950be6d48eb4f8d9d4c450f590b64e769df5d
      https://github.com/llvm/llvm-project/commit/67b950be6d48eb4f8d9d4c450f590b64e769df5d
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
    A compiler-rt/test/hwasan/TestCases/malloc-align.c

  Log Message:
  -----------
  [hwasan] Fix allocator alignment.

Summary:
Fix hwasan allocator not respecting the requested alignment when it is
higher than a page, but still within primary (i.e. [2048, 65536]).

Reviewers: pcc, hctim, cryptoad

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

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




More information about the All-commits mailing list