Fixes the problem mentioned in D66333#1726488. Additionally refers to strcat as "memory concatenation function" as opposed to "memory copy functions".
TODO: Add a flag to VerifyDiagnosticConsumer to match full messages by default.
Paths
| Differential D71321
[analyzer] CStringChecker: Warning text fixes. ClosedPublic Authored by NoQ on Dec 10 2019, 5:43 PM.
Details Summary Fixes the problem mentioned in D66333#1726488. Additionally refers to strcat as "memory concatenation function" as opposed to "memory copy functions". TODO: Add a flag to VerifyDiagnosticConsumer to match full messages by default.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 10 2019, 5:59 PM Closed by commit rG134faae04259: [analyzer] CStringChecker: Improve warning messages. (authored by dergachev.a). · Explain WhyDec 11 2019, 11:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 233425 clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
clang/test/Analysis/bsd-string.c
clang/test/Analysis/bstring.c
clang/test/Analysis/cstring-ranges.c
clang/test/Analysis/null-deref-path-notes.c
clang/test/Analysis/null-deref-ps-region.c
clang/test/Analysis/string.c
|