================
@@ -0,0 +1,106 @@
+// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
----------------
flovent wrote:


> Added `alpha.unix.cstring` and `unix.cstring` to testcase, 
> `alpha.unix.cstring` makes a difference, in line 66, if `size` is equal to 
> `dest`'s size, `alpha.unix.cstring.OutOfBounds` will be reported, that's 
> before we check `size` or `srcLen`.

I added the version before i changed in 
02ad1b9a3356ccf3d2816a5087f905183a5e4668 back, make it produce 
`alpha.unix.cstring.OutOfBounds`.


https://github.com/llvm/llvm-project/pull/146212
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to