[clang] [analyzer] Don't rule out symbolic pointer pointing to stack (PR #187080)
DonĂ¡t Nagy via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 18 06:51:49 PDT 2026
================
@@ -0,0 +1,62 @@
+// RUN: %clang_analyze_cc1 %s \
+// RUN: -analyzer-checker=core \
+// RUN: -analyzer-checker=unix.StdCLibraryFunctions \
+// RUN: -analyzer-checker=debug.ExprInspection \
+// RUN: -triple x86_64-unknown-linux-gnu \
----------------
NagyDonat wrote:
I wrote this test file by copying and reducing one of the test files for `unix.StdCLibraryFunctions`; the pin was "inherited" from there.
I very strongly suspect that it won't be necessary in this (much smaller) test file, so I removed it in https://github.com/llvm/llvm-project/pull/187080/commits/d331c34efbf7505fd5c33193b2ec7f6dff981e13 . (Let's hope that this won't break on some crazy windows machine :sweat_smile:.)
https://github.com/llvm/llvm-project/pull/187080
More information about the cfe-commits
mailing list