[clang] [analyzer] Support interestingness in ArrayBoundV2 (PR #78315)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 19 10:09:13 PST 2024


================
@@ -0,0 +1,128 @@
+// RUN: %clang_analyze_cc1 -Wno-array-bounds -analyzer-output=text        \
+// RUN:     -analyzer-checker=core,alpha.security.ArrayBoundV2,unix.Malloc,alpha.security.taint,debug.ExprInspection -verify %s
+
+int array[10];
+
+void clang_analyzer_value(unsigned arg);
----------------
NagyDonat wrote:

I'm not actually using `clang_analyzer_value()`, I just forgot to remove it after some temporary changes I did for debugging something.

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


More information about the cfe-commits mailing list