about summary refs log tree commit diff homepage
path: root/test/Feature/ubsan/ubsan_array_bounds.c
diff options
context:
space:
mode:
authorPavel <operasfantom@gmail.com>2022-08-06 16:14:47 +0400
committerCristian Cadar <c.cadar@imperial.ac.uk>2022-09-14 20:40:10 +0100
commit13564199937f2382ae3b0f585e4b876449e6d5c9 (patch)
tree34db09169c5493876b60b552f40bb1b669081ee8 /test/Feature/ubsan/ubsan_array_bounds.c
parent8ecf071992adab8b8c5593faab7338d16b15f364 (diff)
downloadklee-13564199937f2382ae3b0f585e4b876449e6d5c9.tar.gz
Improve pattern for FileCheck in UBSan's tests
Diffstat (limited to 'test/Feature/ubsan/ubsan_array_bounds.c')
-rw-r--r--test/Feature/ubsan/ubsan_array_bounds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/ubsan/ubsan_array_bounds.c b/test/Feature/ubsan/ubsan_array_bounds.c
index b8ed91f0..8b067afa 100644
--- a/test/Feature/ubsan/ubsan_array_bounds.c
+++ b/test/Feature/ubsan/ubsan_array_bounds.c
@@ -9,7 +9,7 @@
 unsigned int array_index(unsigned int n) {
   unsigned int a[4] = {0};
 
-  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:34: out-of-bounds-index
+  // CHECK: KLEE: ERROR: {{.*}}runtime/Sanitizer/ubsan/ubsan_handlers.cpp:{{[0-9]+}}: out-of-bounds-index
   return a[n];
 }