1 // RUN: %clangxx_asan -O0 %s -o %t && %run %t
2 // RUN: %clangxx_asan -O0 %s -DPOSITIVE -o %t && not %run %t 2>&1 | FileCheck %s
4 // Test the readv() interceptor.
18 char * volatile buf_
= buf
;
19 iov
[0].iov_base
= buf_
- 1;
21 iov
[0].iov_base
= buf
+ 1;
24 iov
[1].iov_base
= buf
+ 10;
25 iov
[1].iov_len
= 2000;
26 int fd
= open("/etc/hosts", O_RDONLY
);
29 // CHECK: WRITE of size 5 at