[all-commits] [llvm/llvm-project] 1dd546: [scudo] Detect double free when running with MTE.

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Fri Nov 18 13:18:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dd54691b20d8bf65156cdf35d241cfcd684cb54
      https://github.com/llvm/llvm-project/commit/1dd54691b20d8bf65156cdf35d241cfcd684cb54
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  [scudo] Detect double free when running with MTE.

Try to trigger an MTE fault on double/invalid free by touching the first
byte of the allocation with the provided pointer.

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




More information about the All-commits mailing list