[all-commits] [llvm/llvm-project] 4b99f9: [analyzer][StdLibraryFunctionsChecker] Track depen...
Gabor Marton via All-commits
all-commits at lists.llvm.org
Tue Apr 27 06:36:29 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b99f9c7db262aa55d56d3af2f228e624ff7b55f
https://github.com/llvm/llvm-project/commit/4b99f9c7db262aa55d56d3af2f228e624ff7b55f
Author: Gabor Marton <gabor.marton at ericsson.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
A 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:
-----------
[analyzer][StdLibraryFunctionsChecker] Track dependent arguments
When we report an argument constraint violation, we should track those
other arguments that participate in the evaluation of the violation. By
default, we depend only on the argument that is constrained, however,
there are some special cases like the buffer size constraint that might
be encoded in another argument(s).
Differential Revision: https://reviews.llvm.org/D101358
More information about the All-commits
mailing list