[all-commits] [llvm/llvm-project] 51a5b7: [Webkit Checkers] Introduce a Webkit checker for m...

Rashmi Mudduluru via All-commits all-commits at lists.llvm.org
Thu Dec 5 11:01:49 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51a5b77b57ab3061f4a7fbcf858d7304cd9ccdce
      https://github.com/llvm/llvm-project/commit/51a5b77b57ab3061f4a7fbcf858d7304cd9ccdce
  Author: Rashmi Mudduluru <r_mudduluru at apple.com>
  Date:   2024-12-05 (Thu, 05 Dec 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    A clang/lib/StaticAnalyzer/Checkers/WebKit/MemoryUnsafeCastChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/memory-unsafe-cast.cpp
    A clang/test/Analysis/Checkers/WebKit/memory-unsafe-cast.mm

  Log Message:
  -----------
  [Webkit Checkers] Introduce a Webkit checker for memory unsafe casts (#114606)

This PR introduces a new checker
`[alpha.webkit.MemoryUnsafeCastChecker]` that warns all downcasts from a base type to a derived type.

rdar://137766829



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