Index: compiler-rt/trunk/test/asan/TestCases/strcasestr-1.c =================================================================== --- compiler-rt/trunk/test/asan/TestCases/strcasestr-1.c +++ compiler-rt/trunk/test/asan/TestCases/strcasestr-1.c @@ -2,7 +2,8 @@ // RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s // Test intercept_strstr asan option -// RUN: ASAN_OPTIONS=intercept_strstr=false %run %t 2>&1 +// Disable other interceptors because strlen may be called inside strcasestr +// RUN: ASAN_OPTIONS=intercept_strstr=false:replace_str=false %run %t 2>&1 // There's no interceptor for strcasestr on Windows // XFAIL: win32 Index: compiler-rt/trunk/test/asan/TestCases/strcasestr-2.c =================================================================== --- compiler-rt/trunk/test/asan/TestCases/strcasestr-2.c +++ compiler-rt/trunk/test/asan/TestCases/strcasestr-2.c @@ -2,7 +2,8 @@ // RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s // Test intercept_strstr asan option -// RUN: ASAN_OPTIONS=intercept_strstr=false %run %t 2>&1 +// Disable other interceptors because strlen may be called inside strcasestr +// RUN: ASAN_OPTIONS=intercept_strstr=false:replace_str=false %run %t 2>&1 // There's no interceptor for strcasestr on Windows // XFAIL: win32 Index: compiler-rt/trunk/test/asan/TestCases/strstr-1.c =================================================================== --- compiler-rt/trunk/test/asan/TestCases/strstr-1.c +++ compiler-rt/trunk/test/asan/TestCases/strstr-1.c @@ -2,7 +2,8 @@ // RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s // Test intercept_strstr asan option -// RUN: ASAN_OPTIONS=intercept_strstr=false %run %t 2>&1 +// Disable other interceptors because strlen may be called inside strstr +// RUN: ASAN_OPTIONS=intercept_strstr=false:replace_str=false %run %t 2>&1 #include #include Index: compiler-rt/trunk/test/asan/TestCases/strstr-2.c =================================================================== --- compiler-rt/trunk/test/asan/TestCases/strstr-2.c +++ compiler-rt/trunk/test/asan/TestCases/strstr-2.c @@ -2,7 +2,8 @@ // RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s // Test intercept_strstr asan option -// RUN: ASAN_OPTIONS=intercept_strstr=false %run %t 2>&1 +// Disable other interceptors because strlen may be called inside strstr +// RUN: ASAN_OPTIONS=intercept_strstr=false:replace_str=false %run %t 2>&1 #include #include