/external/compiler-rt/test/msan/ |
D | dtor-multiple-inheritance-nontrivial-class-members.cc | 14 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector() 33 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~VirtualBase() 34 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~VirtualBase() 36 assert(__msan_test_shadow(intermediate_a_ptr, in ~VirtualBase() 47 assert(__msan_test_shadow(&this->intermediate_a, in ~Intermediate() 50 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~Intermediate() 51 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~Intermediate() 52 assert(__msan_test_shadow(intermediate_a_ptr, in ~Intermediate() 80 assert(__msan_test_shadow(&base_a, sizeof(base_a)) == -1); in ~Base() 81 assert(__msan_test_shadow(&base_v, sizeof(base_v)) == -1); in ~Base() [all …]
|
D | dtor-multiple-inheritance.cc | 27 assert(__msan_test_shadow(&this->x, sizeof(this->x) == -1)); in ~A() 29 assert(__msan_test_shadow(temp_y, sizeof(*temp_y)) != -1); in ~A() 30 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~A() 31 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~A() 40 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~B() 42 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~B() 44 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~B() 45 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~B() 54 assert(__msan_test_shadow(&this->z, sizeof(this->z)) == -1); in ~C() 56 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~C() [all …]
|
D | dtor-trivial-class-members.cc | 17 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector() 36 assert(__msan_test_shadow(&derived_a, sizeof(derived_a)) == -1); in ~Derived() 37 assert(__msan_test_shadow(&derived_v1, sizeof(derived_v1)) == -1); in ~Derived() 38 assert(__msan_test_shadow(&derived_v2, sizeof(derived_v2)) == -1); in ~Derived() 39 assert(__msan_test_shadow(&derived_b, sizeof(derived_b)) == -1); in ~Derived() 40 assert(__msan_test_shadow(&derived_c, sizeof(derived_c)) == -1); in ~Derived() 48 assert(__msan_test_shadow(&d->derived_a, sizeof(d->derived_a)) != -1); in main() 49 assert(__msan_test_shadow(&d->derived_v1, sizeof(d->derived_v1)) != -1); in main() 50 assert(__msan_test_shadow(&d->derived_v2, sizeof(d->derived_v2)) != -1); in main() 51 assert(__msan_test_shadow(&d->derived_b, sizeof(d->derived_b)) != -1); in main() [all …]
|
D | scandir.cc | 21 assert(__msan_test_shadow(&a, sizeof(a)) == (size_t)-1); in my_filter() 24 assert(__msan_test_shadow(a, a->d_reclen) == (size_t)-1); in my_filter() 30 assert(__msan_test_shadow(a, sizeof(*a)) == (size_t)-1); in my_compar() 31 assert(__msan_test_shadow(*a, (*a)->d_reclen) == (size_t)-1); in my_compar() 32 assert(__msan_test_shadow(b, sizeof(*b)) == (size_t)-1); in my_compar() 33 assert(__msan_test_shadow(*b, (*b)->d_reclen) == (size_t)-1); in my_compar() 47 assert(__msan_test_shadow(&d, sizeof(*d)) == (size_t)-1); in main() 49 assert(__msan_test_shadow(&d[i], sizeof(d[i])) == (size_t)-1); in main() 50 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
|
D | dtor-base-access.cc | 31 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Base() 33 assert(__msan_test_shadow(this->x_ptr, sizeof(*this->x_ptr)) != -1); in ~Base() 38 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~Derived() 40 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Derived() 45 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) == -1); in main() 47 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) != -1); in main()
|
D | dtor-bit-fields.cc | 52 assert(__msan_test_shadow(((char*)p) + i, sizeof(char)) != -1); in main() 53 assert(__msan_test_shadow(&p->d, sizeof(double)) != -1); in main() 54 assert(__msan_test_shadow(((char*)(&p->d)) + sizeof(double), sizeof(char)) != in main() 59 assert(__msan_test_shadow(e, sizeof(*e)) != -1); in main() 63 assert(__msan_test_shadow(s, sizeof(*s)) != -1); in main() 67 assert(__msan_test_shadow(a, sizeof(*a)) != -1); in main()
|
D | dtor-derived-class.cc | 26 assert(__msan_test_shadow(&d, sizeof(d)) == -1); in main() 27 assert(__msan_test_shadow(&d->x, sizeof(d->x)) != -1); in main() 28 assert(__msan_test_shadow(&d->y, sizeof(d->y)) != -1); in main() 35 assert(__msan_test_shadow(&b, sizeof(b)) == -1); in main() 36 assert(__msan_test_shadow(&b->x, sizeof(b->x)) != -1); in main()
|
/external/llvm-project/compiler-rt/test/msan/ |
D | dtor-multiple-inheritance-nontrivial-class-members.cpp | 14 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector() 33 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~VirtualBase() 34 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~VirtualBase() 36 assert(__msan_test_shadow(intermediate_a_ptr, in ~VirtualBase() 47 assert(__msan_test_shadow(&this->intermediate_a, in ~Intermediate() 50 assert(__msan_test_shadow(&virtual_v, sizeof(virtual_v)) == -1); in ~Intermediate() 51 assert(__msan_test_shadow(&virtual_a, sizeof(virtual_a)) == -1); in ~Intermediate() 52 assert(__msan_test_shadow(intermediate_a_ptr, in ~Intermediate() 80 assert(__msan_test_shadow(&base_a, sizeof(base_a)) == -1); in ~Base() 81 assert(__msan_test_shadow(&base_v, sizeof(base_v)) == -1); in ~Base() [all …]
|
D | dtor-multiple-inheritance.cpp | 27 assert(__msan_test_shadow(&this->x, sizeof(this->x) == -1)); in ~A() 29 assert(__msan_test_shadow(temp_y, sizeof(*temp_y)) != -1); in ~A() 30 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~A() 31 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~A() 40 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~B() 42 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~B() 44 assert(__msan_test_shadow(temp_z, sizeof(*temp_z)) != -1); in ~B() 45 assert(__msan_test_shadow(temp_w, sizeof(*temp_w)) != -1); in ~B() 54 assert(__msan_test_shadow(&this->z, sizeof(this->z)) == -1); in ~C() 56 assert(__msan_test_shadow(&this->x, sizeof(this->x)) == -1); in ~C() [all …]
|
D | dtor-trivial-class-members.cpp | 17 assert(__msan_test_shadow(&this->size, sizeof(this->size)) == -1); in ~Vector() 36 assert(__msan_test_shadow(&derived_a, sizeof(derived_a)) == -1); in ~Derived() 37 assert(__msan_test_shadow(&derived_v1, sizeof(derived_v1)) == -1); in ~Derived() 38 assert(__msan_test_shadow(&derived_v2, sizeof(derived_v2)) == -1); in ~Derived() 39 assert(__msan_test_shadow(&derived_b, sizeof(derived_b)) == -1); in ~Derived() 40 assert(__msan_test_shadow(&derived_c, sizeof(derived_c)) == -1); in ~Derived() 48 assert(__msan_test_shadow(&d->derived_a, sizeof(d->derived_a)) != -1); in main() 49 assert(__msan_test_shadow(&d->derived_v1, sizeof(d->derived_v1)) != -1); in main() 50 assert(__msan_test_shadow(&d->derived_v2, sizeof(d->derived_v2)) != -1); in main() 51 assert(__msan_test_shadow(&d->derived_b, sizeof(d->derived_b)) != -1); in main() [all …]
|
D | scandir.cpp | 21 assert(__msan_test_shadow(&a, sizeof(a)) == (size_t)-1); in my_filter() 24 assert(__msan_test_shadow(a, a->d_reclen) == (size_t)-1); in my_filter() 30 assert(__msan_test_shadow(a, sizeof(*a)) == (size_t)-1); in my_compar() 31 assert(__msan_test_shadow(*a, (*a)->d_reclen) == (size_t)-1); in my_compar() 32 assert(__msan_test_shadow(b, sizeof(*b)) == (size_t)-1); in my_compar() 33 assert(__msan_test_shadow(*b, (*b)->d_reclen) == (size_t)-1); in my_compar() 47 assert(__msan_test_shadow(&d, sizeof(*d)) == (size_t)-1); in main() 49 assert(__msan_test_shadow(&d[i], sizeof(d[i])) == (size_t)-1); in main() 50 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
|
D | unpoison_param.cpp | 21 assert(__msan_test_shadow(&a, sizeof(a)) == 0); in foo() 22 assert(__msan_test_shadow(&b, sizeof(b)) == 0); in foo() 24 assert(__msan_test_shadow(&a, sizeof(a)) == -1); in foo() 25 assert(__msan_test_shadow(&b, sizeof(b)) == 0); in foo() 27 assert(__msan_test_shadow(&a, sizeof(a)) == -1); in foo() 28 assert(__msan_test_shadow(&b, sizeof(b)) == -1); in foo()
|
D | dtor-base-access.cpp | 31 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Base() 33 assert(__msan_test_shadow(this->x_ptr, sizeof(*this->x_ptr)) != -1); in ~Base() 38 assert(__msan_test_shadow(&this->y, sizeof(this->y)) == -1); in ~Derived() 40 assert(__msan_test_shadow(&this->x_ptr, sizeof(this->x_ptr)) == -1); in ~Derived() 45 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) == -1); in main() 47 assert(__msan_test_shadow(&d->x_ptr, sizeof(d->x_ptr)) != -1); in main()
|
D | dtor-bit-fields.cpp | 52 assert(__msan_test_shadow(((char*)p) + i, sizeof(char)) != -1); in main() 53 assert(__msan_test_shadow(&p->d, sizeof(double)) != -1); in main() 54 assert(__msan_test_shadow(((char*)(&p->d)) + sizeof(double), sizeof(char)) != in main() 59 assert(__msan_test_shadow(e, sizeof(*e)) != -1); in main() 63 assert(__msan_test_shadow(s, sizeof(*s)) != -1); in main() 67 assert(__msan_test_shadow(a, sizeof(*a)) != -1); in main()
|
D | alloca.cpp | 12 assert(0 == __msan_test_shadow(p, 16)); in main() 13 assert(0 == __msan_test_shadow(p + 15, 1)); in main() 16 assert(-1 == __msan_test_shadow(p, 16)); in main() 20 assert(-1 == __msan_test_shadow(p, 16)); in main() 24 assert(-1 == __msan_test_shadow(p, 16)); in main()
|
D | dtor-derived-class.cpp | 26 assert(__msan_test_shadow(&d, sizeof(d)) == -1); in main() 27 assert(__msan_test_shadow(&d->x, sizeof(d->x)) != -1); in main() 28 assert(__msan_test_shadow(&d->y, sizeof(d->y)) != -1); in main() 35 assert(__msan_test_shadow(&b, sizeof(b)) == -1); in main() 36 assert(__msan_test_shadow(&b->x, sizeof(b->x)) != -1); in main()
|
/external/llvm-project/compiler-rt/test/msan/Linux/ |
D | syscalls.cpp | 38 assert(__msan_test_shadow(buf, sizeof(buf)) == -1); in main() 47 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 51 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 55 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 59 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main() 63 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main() 68 assert(__msan_test_shadow(buf, sizeof(buf)) == 0); in main() 72 assert(__msan_test_shadow(buf, sizeof(buf)) == 5); in main() 76 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(struct stat)); in main() 81 assert(__msan_test_shadow(buf, sizeof(buf)) == kFortyTwo); in main() [all …]
|
D | forkpty.cpp | 15 assert(__msan_test_shadow(&parent, sizeof(parent)) == -1); in main() 16 assert(__msan_test_shadow(&worker, sizeof(worker)) == -1); in main() 20 assert(__msan_test_shadow(name, strlen(name) + 1) == -1); in main() 23 assert(__msan_test_shadow(name_p, strlen(name_p) + 1) == -1); in main() 27 assert(__msan_test_shadow(&parent2, sizeof(parent2)) == -1); in main()
|
D | getresid.cpp | 12 assert(0 == __msan_test_shadow(uids, 6 * sizeof(uid_t))); in main() 16 __msan_test_shadow(uids + 2 * i, 2 * sizeof(uid_t))); in main() 19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main() 23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
|
D | mincore.cpp | 18 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() 23 assert(__msan_test_shadow(vec, sizeof(vec)) == 11); in main() 28 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() 33 assert(__msan_test_shadow(vec, sizeof(vec)) == 1); in main()
|
D | process_vm_readv.cpp | 58 assert(__msan_test_shadow(b + 9, 1) == 0); in main() 59 assert(__msan_test_shadow(b + 20, 1) == 0); in main() 60 assert(__msan_test_shadow(b + 29, 1) == 0); in main() 61 assert(__msan_test_shadow(b + 50, 1) == 0); in main()
|
/external/compiler-rt/test/msan/Linux/ |
D | syscalls.cc | 37 assert(__msan_test_shadow(buf, sizeof(buf)) == -1); in main() 46 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 50 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 54 assert(__msan_test_shadow(buf, sizeof(buf)) == kTen); in main() 58 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main() 62 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(long) * 2); in main() 67 assert(__msan_test_shadow(buf, sizeof(buf)) == 0); in main() 71 assert(__msan_test_shadow(buf, sizeof(buf)) == 5); in main() 75 assert(__msan_test_shadow(buf, sizeof(buf)) == sizeof(struct stat)); in main() 80 assert(__msan_test_shadow(buf, sizeof(buf)) == kFortyTwo); in main() [all …]
|
D | getresid.cc | 12 assert(0 == __msan_test_shadow(uids, 6 * sizeof(uid_t))); in main() 16 __msan_test_shadow(uids + 2 * i, 2 * sizeof(uid_t))); in main() 19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main() 23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
|
D | mincore.cc | 18 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() 23 assert(__msan_test_shadow(vec, sizeof(vec)) == 11); in main() 28 assert(__msan_test_shadow(vec, sizeof(vec)) == 10); in main() 33 assert(__msan_test_shadow(vec, sizeof(vec)) == 1); in main()
|
D | process_vm_readv.cc | 58 assert(__msan_test_shadow(b + 9, 1) == 0); in main() 59 assert(__msan_test_shadow(b + 20, 1) == 0); in main() 60 assert(__msan_test_shadow(b + 29, 1) == 0); in main() 61 assert(__msan_test_shadow(b + 50, 1) == 0); in main()
|