[all-commits] [llvm/llvm-project] d1ce5f: [ASan] Instrument ptrtoaddr as pointer difference ...

Alexis Engelke via All-commits all-commits at lists.llvm.org
Mon Jul 27 23:18:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1ce5f95fb661999bcc99a3a816cc72c1220a36d
      https://github.com/llvm/llvm-project/commit/d1ce5f95fb661999bcc99a3a816cc72c1220a36d
  Author: Alexis Engelke <engelke at in.tum.de>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/test/Instrumentation/AddressSanitizer/asan-detect-invalid-pointer-pair.ll

  Log Message:
  -----------
  [ASan] Instrument ptrtoaddr as pointer difference (#211988)

We want to emit ptrtoaddr instead of ptrtoint for pointer differences to
not expose the provenance. Adjust ASan instrumentation to handle this
case as well.



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