Home
last modified time | relevance | path

Searched refs:__msan_test_shadow (Results 1 – 25 of 82) sorted by relevance

1234

/external/compiler-rt/test/msan/
Ddtor-multiple-inheritance-nontrivial-class-members.cc14 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 …]
Ddtor-multiple-inheritance.cc27 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 …]
Ddtor-trivial-class-members.cc17 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 …]
Dscandir.cc21 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()
Ddtor-base-access.cc31 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()
Ddtor-bit-fields.cc52 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()
Ddtor-derived-class.cc26 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/
Ddtor-multiple-inheritance-nontrivial-class-members.cpp14 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 …]
Ddtor-multiple-inheritance.cpp27 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 …]
Ddtor-trivial-class-members.cpp17 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 …]
Dscandir.cpp21 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()
Dunpoison_param.cpp21 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()
Ddtor-base-access.cpp31 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()
Ddtor-bit-fields.cpp52 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()
Dalloca.cpp12 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()
Ddtor-derived-class.cpp26 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/
Dsyscalls.cpp38 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 …]
Dforkpty.cpp15 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()
Dgetresid.cpp12 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()
Dmincore.cpp18 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()
Dprocess_vm_readv.cpp58 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/
Dsyscalls.cc37 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 …]
Dgetresid.cc12 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()
Dmincore.cc18 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()
Dprocess_vm_readv.cc58 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()

1234