[clang] [clang][analyzer] Add taintedness to argv (PR #178054)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 27 05:49:45 PST 2026
================
@@ -63,6 +63,8 @@ constexpr llvm::StringLiteral MsgSanitizeSystemArgs =
constexpr llvm::StringLiteral MsgCustomSink =
"Untrusted data is passed to a user-defined sink";
+const std::string MsgTaintOrigin = "Taint originated here";
----------------
NagyDonat wrote:
If you want to use a shared constant string, use `constexpr llvm::StringLiteral` as above because it is optimized for this role. (However I suggested that instead of sharing this string, I suggested a more detailed note.)
https://github.com/llvm/llvm-project/pull/178054
More information about the cfe-commits
mailing list