Skip to content

Commit 5fe8a24

Browse files
committed
unroll loops option to catch OOB in test case
1 parent cc260f9 commit 5fe8a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Analysis/ArrayBound/cplusplus-tainted-index.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_analyze_cc1 -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,security.ArrayBound -verify %s
1+
// RUN: %clang_analyze_cc1 -std=c++11 -Wno-array-bounds -analyzer-config unroll-loops=true -analyzer-checker=unix,core,security.ArrayBound -verify %s
22

33
// Test the interactions of `security.ArrayBound` with C++ features.
44

0 commit comments

Comments
 (0)