[clang] [analyzer] Check the correct first and last elements in cstring.UninitializedRead (PR #95408)

Kristóf Umann via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 18 04:29:50 PDT 2024


================
@@ -26,16 +50,12 @@ void top(char *dst) {
 
 void *mempcpy(void *restrict s1, const void *restrict s2, size_t n);
 
-void mempcpy14() {
+void mempcpy13() {
----------------
Szelethus wrote:

I gave sensible names to all of these test functions.

https://github.com/llvm/llvm-project/pull/95408


More information about the cfe-commits mailing list