[all-commits] [llvm/llvm-project] e12e02: [clang] Evaluate strlen of strcpy argument for -Wf...
Michael Benfield via All-commits
all-commits at lists.llvm.org
Wed Jul 28 13:53:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e12e02df09a967f644cf28136a7361bce7a5bb91
https://github.com/llvm/llvm-project/commit/e12e02df09a967f644cf28136a7361bce7a5bb91
Author: Michael Benfield <mbenfield at google.com>
Date: 2021-07-28 (Wed, 28 Jul 2021)
Changed paths:
M clang/include/clang/AST/Expr.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Analysis/security-syntax-checks.m
M clang/test/Sema/warn-fortify-source.c
Log Message:
-----------
[clang] Evaluate strlen of strcpy argument for -Wfortify-source.
Also introduce Expr::tryEvaluateStrLen.
Differential Revision: https://reviews.llvm.org/D104887
More information about the All-commits
mailing list