[all-commits] [llvm/llvm-project] 4c6f31: [analyzer] [MallocChecker] suspect all release fun...
Pavel Skripkin via All-commits
all-commits at lists.llvm.org
Mon Sep 16 09:44:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4c6f313cb340c435f47ac032857030768c81c341
https://github.com/llvm/llvm-project/commit/4c6f313cb340c435f47ac032857030768c81c341
Author: Pavel Skripkin <paskripkin at gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
M clang/test/Analysis/NewDelete-atomics.cpp
A clang/test/Analysis/malloc-refcounted.c
Log Message:
-----------
[analyzer] [MallocChecker] suspect all release functions as candidate for suppression (#104599)
Current MalloChecker logic suppresses FP caused by refcounting only for
C++ destructors. The same pattern occurs a lot in C in objects with
intrusive refcounting. See #104229 for code example.
To extend current logic to C, suspect all release functions as candidate
for suppression.
Closes: #104229
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