[all-commits] [llvm/llvm-project] b21815: [SSAF] Filter out type-constrained pointers from a...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Mon Jul 13 18:50:59 PDT 2026


  Branch: refs/heads/users/ziqingluo/PR-179151882
  Home:   https://github.com/llvm/llvm-project
  Commit: b218156690f92530f54a938fe015583bd6fc6ed8
      https://github.com/llvm/llvm-project/commit/b218156690f92530f54a938fe015583bd6fc6ed8
  Author: Ziqing Luo <ziqing_luo at apple.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/lib/ScalableStaticAnalysis/Analyses/UnsafeBufferUsage/UnsafeBufferUsageAnalysis.cpp
    M clang/lib/ScalableStaticAnalysis/Core/WholeProgramAnalysis/AnalysisDriver.cpp
    M clang/test/Analysis/Scalable/PointerFlow/external-inline-function-in-multi-tu.test
    M clang/test/Analysis/Scalable/PointerFlow/lref-to-rref-cast.test
    M clang/test/Analysis/Scalable/PointerFlow/multi-decl-contributor.cpp
    M clang/test/Analysis/Scalable/PointerFlow/multi-dim-pointer-flow-constraint.test
    A clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-main.cpp
    A clang/test/Analysis/Scalable/TypeConstrainedPointers/unsafe-buffer-reachable-excludes-type-constrained-new-delete.cpp
    A clang/test/Analysis/Scalable/ssaf-analyzer/Outputs/empty-pairs.json
    M clang/test/Analysis/Scalable/ssaf-analyzer/analyzer.test

  Log Message:
  -----------
  [SSAF] Filter out type-constrained pointers from all reachable unsafe pointers

Integrate the TypeConstrainedPointers analysis results into
UnsafeBufferReachableAnalysis.  The final result is filtered with
type-constrainted pointers.

The pointer flow graph is untouched. Removing type-constrained
pointers from the graph will introduce unsoundness.

Final step for rdar://179151541&179151882



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