diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-05-08 09:24:53 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-05-08 09:24:53 +0000 |
commit | 3a6a105fcc80f1f3394f297fa7c054e4502b2ce3 (patch) | |
tree | ca225c8fec0f3bb6c7118af3171e355669f78252 /test/asan/TestCases/printf-4.c | |
parent | 8570a33853c9a152959378675ccaacbcb27d5f9b (diff) | |
download | compiler-rt-3a6a105fcc80f1f3394f297fa7c054e4502b2ce3.tar.gz |
[asan] Update tests for r208290.
sprintf output buffer is now always sanitized.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/printf-4.c')
-rw-r--r-- | test/asan/TestCases/printf-4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/asan/TestCases/printf-4.c b/test/asan/TestCases/printf-4.c index 64224f634..96ce63095 100644 --- a/test/asan/TestCases/printf-4.c +++ b/test/asan/TestCases/printf-4.c @@ -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 } |