[all-commits] [llvm/llvm-project] 8deaec: [analyzer] Update Fuchsia checker to catch releasi...

Zero Omega via All-commits all-commits at lists.llvm.org
Wed Jan 6 16:24:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8deaec122ec68746c53ec2afb893873124053d8d
      https://github.com/llvm/llvm-project/commit/8deaec122ec68746c53ec2afb893873124053d8d
  Author: Daniel Hwang <arkay at google.com>
  Date:   2021-01-06 (Wed, 06 Jan 2021)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
    M clang/test/Analysis/fuchsia_handle.cpp

  Log Message:
  -----------
  [analyzer] Update Fuchsia checker to catch releasing unowned handles.

Certain Fuchsia functions may return handles that are not owned by the
current closure. This adds a check in order to determine when these
handles are released.

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




More information about the All-commits mailing list