From 0967188e42115c36e063bc76dab4e82d0bdf7738 Mon Sep 17 00:00:00 2001 From: Max Ostapenko Date: Tue, 24 Jun 2014 08:52:30 +0300 Subject: [PATCH] strlen-overflow-1.c: Change match patterns. gcc/testsuite/ 2014-06-23 Max Ostapenko * c-c++-common/asan/strlen-overflow-1.c: Change match patterns. From-SVN: r211927 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1676365..86ad4fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-06-23 Max Ostapenko + + * c-c++-common/asan/strlen-overflow-1.c: Change match patterns. + 2014-06-23 Jan Hubicka * gcc.dg/localalias-2.c: Guard by require-alias. diff --git a/gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c b/gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c index bf6bf66..f58f554 100644 --- a/gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c +++ b/gcc/testsuite/c-c++-common/asan/strlen-overflow-1.c @@ -26,4 +26,5 @@ int main () { } /* { dg-output "READ of size 1 at 0x\[0-9a-f\]+ thread T0.*(\n|\r\n|\r)" } */ -/* { dg-output " #0 0x\[0-9a-f\]+ (in _*main (\[^\n\r]*strlen-overflow-1.c:24|\[^\n\r]*:0)|\[(\]).*(\n|\r\n|\r)" } */ +/* { dg-output " #0 0x\[0-9a-f\]+ (in _*main (\[^\n\r]*strlen-overflow-1.c:25|\[^\n\r]*:0)|\[(\]).*(\n|\r\n|\r)" } */ +/* { dg-output "\[^\n\r]*0x\[0-9a-f\]+ is located 1 bytes inside of global variable" } */ -- 2.7.4