[all-commits] [llvm/llvm-project] 6012ca: [clang][analyzer] Display buffer sizes in StdCLibr...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Wed May 17 00:34:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6012cadc400f4400c97e00da268de17e94a3f5dc
https://github.com/llvm/llvm-project/commit/6012cadc400f4400c97e00da268de17e94a3f5dc
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2023-05-17 (Wed, 17 May 2023)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
M clang/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp
M clang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
M clang/test/Analysis/std-c-library-functions-arg-constraints.c
Log Message:
-----------
[clang][analyzer] Display buffer sizes in StdCLibraryFunctionArgs checker
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.
Reviewed By: Szelethus
Differential Revision: https://reviews.llvm.org/D149321
More information about the All-commits
mailing list