[all-commits] [llvm/llvm-project] 433b2e: [hwasan] Always untag short granule in shadow.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Tue Aug 24 14:14:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 433b2eaf91afa35006899da8fd7f9bde3df3507c
      https://github.com/llvm/llvm-project/commit/433b2eaf91afa35006899da8fd7f9bde3df3507c
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_allocator.cpp
    A compiler-rt/test/hwasan/TestCases/short-granule-disabled.cpp

  Log Message:
  -----------
  [hwasan] Always untag short granule in shadow.

Fixes a regression when the allocator is disabled, and a dirty
allocation is re-used. This only occurs when the allocator is disabled,
so a test-only fix, but still necessary.

Reviewed By: eugenis

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




More information about the All-commits mailing list