[compiler-rt] r208291 - [asan] Update tests for r208290.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu May 8 02:24:54 PDT 2014
Author: eugenis
Date: Thu May 8 04:24:53 2014
New Revision: 208291
URL: http://llvm.org/viewvc/llvm-project?rev=208291&view=rev
Log:
[asan] Update tests for r208290.
sprintf output buffer is now always sanitized.
Modified:
compiler-rt/trunk/test/asan/TestCases/printf-4.c
Modified: compiler-rt/trunk/test/asan/TestCases/printf-4.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/printf-4.c?rev=208291&r1=208290&r2=208291&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/printf-4.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/printf-4.c Thu May 8 04:24:53 2014
@@ -2,7 +2,6 @@
// We need replace_str=0 and replace_intrin=0 to avoid reporting errors in
// strlen() and memcpy() called by puts().
// RUN: ASAN_OPTIONS=replace_str=0:replace_intrin=0:check_printf=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s
-// RUN: ASAN_OPTIONS=replace_str=0:replace_intrin=0:check_printf=0 %run %t 2>&1 | FileCheck --check-prefix=CHECK-OFF %s
// RUN: ASAN_OPTIONS=replace_str=0:replace_intrin=0 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-ON %s
#include <stdio.h>
@@ -18,5 +17,4 @@ int main() {
// Check that size of output buffer is sanitized.
// CHECK-ON: stack-buffer-overflow
// CHECK-ON-NOT: 0 12 1.239 34
- // CHECK-OFF: 0 12 1.239 34
}
More information about the llvm-commits
mailing list