Files
clang-p2996/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
Pavel Skripkin 4c6f313cb3 [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
2024-09-16 19:44:13 +03:00

145 KiB