[all-commits] [llvm/llvm-project] ef353b: Introduce a new WebKit checker for a unchecked cal...

Ryosuke Niwa via All-commits all-commits at lists.llvm.org
Thu Nov 7 08:34:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef353b02b0728f2328c3494c70dc426d58d23508
      https://github.com/llvm/llvm-project/commit/ef353b02b0728f2328c3494c70dc426d58d23508
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M clang/docs/analyzer/checkers.rst
    M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
    M clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    A clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefCallArgsChecker.cpp
    R clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
    A clang/test/Analysis/Checkers/WebKit/call-args-checked-ptr.cpp
    A clang/test/Analysis/Checkers/WebKit/call-args-checked-return-value.cpp
    M llvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Checkers/BUILD.gn

  Log Message:
  -----------
  Introduce a new WebKit checker for a unchecked call arguments (#113708) (#114522)

This PR introduces alpha.webkit.UncheckedCallArgsChecker which detects a
function argument which is a raw reference or a raw pointer to a
CheckedPtr capable object.



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