If a wrong (too small) buffer argument is found, the dynamic buffer size and
values of connected arguments are displayed in the warning message, if
these are simple known integer values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I am Szelethus, and I approve this warning message!
Now, on another issue, if we can output such a thorough message, we should start to consider that in the few cases where we cannot, maybe we should just choose to suppress the warning. But that is a job for another patch.
clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | ||
---|---|---|
889 | I think this would be correct. |
clang-format not found in user’s local PATH; not linting file.